CloneSet1854


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8240.973statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18235
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/AddSourceFolderWizardPage.java
28244
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/AddSourceFolderWizardPage.java
Clone Instance
1
Line Count
8
Source Line
235
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/AddSourceFolderWizardPage.java

                        IPath[] exlusions = (IPath[]) element.getAttribute(CPListElement.EXCLUSION);
                        if (exlusions != null) {
                                IPath[] save = new IPath[exlusions.length];
                                for (int i = 0; i < save.length; i++) {
                                        save[i] = exlusions[i];
                                }
                                fOrginalExlusionFiltersCopy.put(element, save);
                                fOrginalExlusionFilters.put(element, exlusions);
                        }


Clone Instance
2
Line Count
8
Source Line
244
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/AddSourceFolderWizardPage.java

                        IPath[] inclusions = (IPath[]) element.getAttribute(CPListElement.INCLUSION);
                        if (inclusions != null) {
                                IPath[] save = new IPath[inclusions.length];
                                for (int i = 0; i < save.length; i++) {
                                        save[i] = inclusions[i];
                                }
                                fOrginalInclusionFiltersCopy.put(element, save);
                                fOrginalInclusionFilters.put(element, inclusions);
                        }


Clone AbstractionParameter Count: 4Parameter Bindings

IPath[]  [[#variable4fdccb60]]= (IPath[]) element.getAttribute(CPListElement. [[#variable4fdccc00]]);
if ( [[#variable4fdccb60]]!= null) {
  IPath[] save = new IPath[ [[#variable4fdccb60]].length];
  for (int i = 0; i < save.length; i++) {
    save[i] = [[#variable4fdccb60]][i];
  }
   [[#variable4fdccc20]].put(element, save);
   [[#variable4fdccae0]].put(element,  [[#variable4fdccb60]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4fdccb60]]
exlusions 
12[[#4fdccb60]]
inclusions 
21[[#4fdccc00]]
EXCLUSION 
22[[#4fdccc00]]
INCLUSION 
31[[#4fdccc20]]
fOrginalExlusionFiltersCopy 
32[[#4fdccc20]]
fOrginalInclusionFiltersCopy 
41[[#4fdccae0]]
fOrginalExlusionFilters 
42[[#4fdccae0]]
fOrginalInclusionFilters