CloneSet2984


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7240.981class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1988
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/ExpressionsCleanUp.java
27100
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/StringCleanUp.java
Clone Instance
1
Line Count
9
Source Line
88
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/ExpressionsCleanUp.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()]);
        }


Clone Instance
2
Line Count
7
Source Line
100
Source File
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_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()]);
        }


Clone AbstractionParameter Count: 4Parameter Bindings

/**
         * {@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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b2ea7200]]
ADD_MISSING_NLS_TAG 
12[[#b2ea7200]]
ADD_PARANOIC_PARENTHESIS 
21[[#b2ea7160]]
StringMultiFix_AddMissingNonNls_description 
22[[#b2ea7160]]
ExpressionsCleanUp_addParanoiac_description 
31[[#b2ea7100]]
REMOVE_UNNECESSARY_NLS_TAG 
32[[#b2ea7100]]
REMOVE_UNNECESSARY_PARENTHESIS 
41[[#b2ea70a0]]
StringMultiFix_RemoveUnnecessaryNonNls_description 
42[[#b2ea70a0]]
ExpressionsCleanUp_removeUnnecessary_description