CloneSet2290


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10250.965statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110215
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/NativeLibrariesConfigurationBlock.java
210517
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceAttachmentBlock.java
Clone Instance
1
Line Count
10
Source Line
215
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/NativeLibrariesConfigurationBlock.java

                if (initSelection.length() > 0) {
                        initSel = root.findMember(new Path(initSelection));
                }
                if (initSel == null) {
                        initSel = root.findMember(fEntry.getPath());
                }

                ElementTreeSelectionDialog dialog = new ElementTreeSelectionDialog(fShell, lp, cp);
                dialog.setAllowMultiple(false);
                dialog.setValidator(validator);


Clone Instance
2
Line Count
10
Source Line
517
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceAttachmentBlock.java

                if (initSelection.length() > 0) {
                        initSel = fWorkspaceRoot.findMember(new Path(initSelection));
                }
                if (initSel == null) {
                        initSel = fWorkspaceRoot.findMember(fEntry.getPath());
                }

                FolderSelectionDialog dialog = new FolderSelectionDialog(getShell(), lp, cp);
                dialog.setAllowMultiple(false);
                dialog.addFilter(filter);


Clone AbstractionParameter Count: 5Parameter Bindings

if (initSelection.length() > 0) {
  initSel = [[#variable5901b880]].findMember(new Path(initSelection));
}
if (initSel == null) {
  initSel = [[#variable5901b880]].findMember(fEntry.getPath());
}
 [[#variable5901b860]] dialog = new [[#variable5901b860]]( [[#variable5901b7c0]], lp, cp);
dialog.setAllowMultiple(false);
dialog. [[#variable9cbb93a0]]( [[#variable5901b7e0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5901b880]]
root 
12[[#5901b880]]
fWorkspaceRoot 
21[[#5901b860]]
ElementTreeSelectionDialog 
22[[#5901b860]]
FolderSelectionDialog 
31[[#5901b7c0]]
fShell 
32[[#5901b7c0]]
getShell() 
41[[#9cbb93a0]]
setValidator 
42[[#9cbb93a0]]
addFilter 
51[[#5901b7e0]]
validator 
52[[#5901b7e0]]
filter