Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 2 | 0.976 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 117 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/NewJavaProjectPreferencePage.java |
2 | 7 | 126 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/NewJavaProjectPreferencePage.java |
| ||||
private static String decode(String str) { try { return URLDecoder.decode(str, fgDefaultEncoding); } catch (UnsupportedEncodingException e) { JavaPlugin.log(e); } return ""; //$NON-NLS-1$ } |
| ||||
private static String encode(String str) { try { return URLEncoder.encode(str, fgDefaultEncoding); } catch (UnsupportedEncodingException e) { JavaPlugin.log(e); } return ""; //$NON-NLS-1$ } |
| |||
private static String [[#variable900e1500]](String str) { try { return [[#variable900e1480]]. [[#variable900e1500]](str, fgDefaultEncoding); } catch (UnsupportedEncodingException e) { JavaPlugin.log(e); } return ""; //$NON-NLS-1$ } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#900e1500]] | decode |
1 | 2 | [[#900e1500]] | encode |
2 | 1 | [[#900e1480]] | URLDecoder |
2 | 2 | [[#900e1480]] | URLEncoder |