CloneSet4884


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6250.955statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16274
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ModifyDialogTabPage.java
26189
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ClasspathContainerWizard.java
Clone Instance
1
Line Count
6
Source Line
274
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ModifyDialogTabPage.java

                        for (int i = 0; i < fValues.length; i++) {
                                if (fValues[i].equals(selected)) {
                                        return fItems[i];
                                }
                        }
                        return ""; //$NON-NLS-1$


Clone Instance
2
Line Count
6
Source Line
189
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ClasspathContainerWizard.java

                for (int i = 0; i < containers.length; i++) {
                        if (containers[i].canEdit(entry)) {
                                return containers[i];
                        }
                }
                return null;


Clone AbstractionParameter Count: 5Parameter Bindings

for (int i = 0; i <  [[#variable57cb4120]].length; i++) {
  if ( [[#variable57cb4120]][i]. [[#variable57cb4080]]( [[#variable640560c0]])) {
    return [[#variable640567e0]][i];
  }
}
return [[#variable59196880]]; //$NON-NLS-1$
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#57cb4120]]
containers 
12[[#57cb4120]]
fValues 
21[[#57cb4080]]
canEdit 
22[[#57cb4080]]
equals 
31[[#640560c0]]
entry 
32[[#640560c0]]
selected 
41[[#640567e0]]
containers 
42[[#640567e0]]
fItems 
51[[#59196880]]
null 
52[[#59196880]]
""