CloneSet4750


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7230.980class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1761
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/ExpressionsCleanUp.java
2763
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/StringCleanUp.java
Clone Instance
1
Line Count
7
Source Line
61
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/ExpressionsCleanUp.java

        public IFix createFix(CompilationUnit compilationUnit) throws CoreException {
                if (compilationUnit == null)
                        return null;

                return ExpressionsFix.createCleanUp(compilationUnit, 
                                isFlag(ADD_PARANOIC_PARENTHESIS), 
                                isFlag(REMOVE_UNNECESSARY_PARENTHESIS));
        }


Clone Instance
2
Line Count
7
Source Line
63
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/StringCleanUp.java

        public IFix createFix(CompilationUnit compilationUnit) throws CoreException {
                if (compilationUnit == null)
                        return null;

                return StringFix.createCleanUp(compilationUnit, 
                                isFlag(ADD_MISSING_NLS_TAG), 
                                isFlag(REMOVE_UNNECESSARY_NLS_TAG));
        }


Clone AbstractionParameter Count: 3Parameter Bindings

public IFix createFix(CompilationUnit compilationUnit) throws CoreException {
  if (compilationUnit == null)
    return null;
  return [[#variable57dd3340]].createCleanUp(compilationUnit, isFlag( [[#variable57dd32a0]]), isFlag( [[#variable57dd3220]]));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#57dd3340]]
StringFix 
12[[#57dd3340]]
ExpressionsFix 
21[[#57dd32a0]]
ADD_MISSING_NLS_TAG 
22[[#57dd32a0]]
ADD_PARANOIC_PARENTHESIS 
31[[#57dd3220]]
REMOVE_UNNECESSARY_NLS_TAG 
32[[#57dd3220]]
REMOVE_UNNECESSARY_PARENTHESIS