CloneSet3523


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6210.995statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16843
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/ClasspathModifier.java
26393
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
Clone Instance
1
Line Count
6
Source Line
843
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/ClasspathModifier.java

                ArrayList newClassPath = new ArrayList();
                for (int i = 0; i < classpathEntries.length; i++) {
                        IClasspathEntry curr = classpathEntries[i];
                        newClassPath.add(CPListElement.createFromExisting(curr, project));
                }
                return newClassPath;


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

                ArrayList newClassPath = new ArrayList();
                for (int i = 0; i < classpathEntries.length; i++) {
                        IClasspathEntry curr = classpathEntries[i];
                        newClassPath.add(CPListElement.createFromExisting(curr, fCurrJProject));
                }
                return newClassPath;


Clone AbstractionParameter Count: 1Parameter Bindings

ArrayList newClassPath = new ArrayList();
for (int i = 0; i < classpathEntries.length; i++) {
  IClasspathEntry curr = classpathEntries[i];
  newClassPath.add(CPListElement.createFromExisting(curr,  [[#variableb2baec40]]));
}
return newClassPath;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b2baec40]]
project 
12[[#b2baec40]]
fCurrJProject