CloneSet2327


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9201.000statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19295
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/ClasspathModifier.java
29116
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/AddArchiveToBuildpathAction.java
Clone Instance
1
Line Count
9
Source Line
295
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/ClasspathModifier.java

                                for (int i = 0; i < addedEntries.size(); i++) {
                                        IClasspathEntry entry = ((CPListElement) addedEntries.get(i)).getClasspathEntry();
                                        IJavaElement elem = project.findPackageFragmentRoot(entry.getPath());
                                        if (elem != null) {
                                                result.add(elem);
                                        }
                                }
                                monitor.worked(1);
                                return result;


Clone Instance
2
Line Count
9
Source Line
116
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/AddArchiveToBuildpathAction.java

                                for (int i = 0; i < addedEntries.size(); i++) {
                                        IClasspathEntry entry = ((CPListElement) addedEntries.get(i)).getClasspathEntry();
                                        IJavaElement elem = project.findPackageFragmentRoot(entry.getPath());
                                        if (elem != null) {
                                                result.add(elem);
                                        }
                                }
                                monitor.worked(1);
                                return result;


Clone AbstractionParameter Count: 0Parameter Bindings

for (int i = 0; i < addedEntries.size(); i++) {
  IClasspathEntry entry = ((CPListElement) addedEntries.get(i)).getClasspathEntry();
  IJavaElement elem = project.findPackageFragmentRoot(entry.getPath());
  if (elem != null) {
    result.add(elem);
  }
}
monitor.worked(1);
return result;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None