CloneSet2744


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10210.991statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110253
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/debug/ui/launchConfigurations/JavaClasspathTab.java
210212
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/classpath/ClasspathContentProvider.java
Clone Instance
1
Line Count
10
Source Line
253
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/debug/ui/launchConfigurations/JavaClasspathTab.java

                IRuntimeClasspathEntry entry;
                for (int i = 0; i < entries.length; i++) {
                        entry = entries[i];
                        switch (entry.getClasspathProperty()) {
                                case IRuntimeClasspathEntry.USER_CLASSES:
                                        fModel.addEntry(ClasspathModel.USER, entry);
                                        break;
                                default:
                                        fModel.addEntry(ClasspathModel.BOOTSTRAP, entry);
                                        break;
                              }
                }


Clone Instance
2
Line Count
10
Source Line
212
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/classpath/ClasspathContentProvider.java

                IRuntimeClasspathEntry entry;
                for (int i = 0; i < entries.length; i++) {
                        entry = entries[i];
                        switch (entry.getClasspathProperty()) {
                                case IRuntimeClasspathEntry.USER_CLASSES:
                                        model.addEntry(ClasspathModel.USER, entry);
                                        break;
                                default:
                                        model.addEntry(ClasspathModel.BOOTSTRAP, entry);
                                        break;
                              }
                }


Clone AbstractionParameter Count: 1Parameter Bindings

IRuntimeClasspathEntry entry;
for (int i = 0; i < entries.length; i++) {
  entry = entries[i];
  switch (entry.getClasspathProperty()) {
    case IRuntimeClasspathEntry.USER_CLASSES:
       [[#variable9c034520]].addEntry(ClasspathModel.USER, entry);
      break;
    default:
       [[#variable9c034520]].addEntry(ClasspathModel.BOOTSTRAP, entry);
      break;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9c034520]]
model 
12[[#9c034520]]
fModel