Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 4 | 0.981 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 88 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/ExpressionsCleanUp.java |
2 | 7 | 100 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/StringCleanUp.java |
| ||||
/** * {@inheritDoc} */ public String[] getDescriptions() { List result = new ArrayList(); if (isFlag(ADD_PARANOIC_PARENTHESIS)) result.add(MultiFixMessages.ExpressionsCleanUp_addParanoiac_description); if (isFlag(REMOVE_UNNECESSARY_PARENTHESIS)) result.add(MultiFixMessages.ExpressionsCleanUp_removeUnnecessary_description); return (String[]) result.toArray(new String[result.size()]); } |
| ||||
/** * {@inheritDoc} */ public String[] getDescriptions() { List result = new ArrayList(); if (isFlag(ADD_MISSING_NLS_TAG)) result.add(MultiFixMessages.StringMultiFix_AddMissingNonNls_description); if (isFlag(REMOVE_UNNECESSARY_NLS_TAG)) result.add(MultiFixMessages.StringMultiFix_RemoveUnnecessaryNonNls_description); return (String[]) result.toArray(new String[result.size()]); } |
| |||
/** * {@inheritDoc} */ public String[] getDescriptions() { List result = new ArrayList(); if (isFlag( [[#variableb2ea7200]])) result.add(MultiFixMessages. [[#variableb2ea7160]]); if (isFlag( [[#variableb2ea7100]])) result.add(MultiFixMessages. [[#variableb2ea70a0]]); return (String[]) result.toArray(new String[result.size()]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b2ea7200]] | ADD_MISSING_NLS_TAG |
1 | 2 | [[#b2ea7200]] | ADD_PARANOIC_PARENTHESIS |
2 | 1 | [[#b2ea7160]] | StringMultiFix_AddMissingNonNls_description |
2 | 2 | [[#b2ea7160]] | ExpressionsCleanUp_addParanoiac_description |
3 | 1 | [[#b2ea7100]] | REMOVE_UNNECESSARY_NLS_TAG |
3 | 2 | [[#b2ea7100]] | REMOVE_UNNECESSARY_PARENTHESIS |
4 | 1 | [[#b2ea70a0]] | StringMultiFix_RemoveUnnecessaryNonNls_description |
4 | 2 | [[#b2ea70a0]] | ExpressionsCleanUp_removeUnnecessary_description |