CloneSet2279


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

                                for (int i = 0; i < selected.length; i++) {
                                        IPath curr = selected[i];
                                        IResource resource = root.findMember(curr);
                                        if (resource instanceof IContainer) {
                                                res.add(newCPLibraryElement(resource));
                                        }
                                }
                                return (CPListElement[]) res.toArray(new CPListElement[res.size()]);


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

                                for (int i = 0; i < selected.length; i++) {
                                        IPath curr = selected[i];
                                        IResource resource = root.findMember(curr);
                                        if (resource instanceof IFile) {
                                                res.add(newCPLibraryElement(resource));
                                        }
                                }
                                return (CPListElement[]) res.toArray(new CPListElement[res.size()]);


Clone AbstractionParameter Count: 1Parameter Bindings

for (int i = 0; i < selected.length; i++) {
  IPath curr = selected[i];
  IResource resource = root.findMember(curr);
  if (resource instanceof [[#variablec34d3b40]]) {
    res.add(newCPLibraryElement(resource));
  }
}
return (CPListElement[]) res.toArray(new CPListElement[res.size()]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#c34d3b40]]
IContainer 
12[[#c34d3b40]]
IFile