CloneSet1827


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12210.997statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112366
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/BuildPathDialogAccess.java
212513
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/BuildPathDialogAccess.java
Clone Instance
1
Line Count
12
Source Line
366
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/BuildPathDialogAccess.java

                dialog.setInitialSelection(focus);

                if (dialog.open() == Window.OK) {
                        Object[] elements = dialog.getResult();
                        IPath[] res = new IPath[elements.length];
                        for (int i = 0; i < res.length; i++) {
                                IResource elem = (IResource) elements[i];
                                res[i] = elem.getFullPath();
                        }
                        return res;
                }
                return null;


Clone Instance
2
Line Count
12
Source Line
513
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/BuildPathDialogAccess.java

                dialog.setInitialFocus(focus);

                if (dialog.open() == Window.OK) {
                        Object[] elements = dialog.getResult();
                        IPath[] res = new IPath[elements.length];
                        for (int i = 0; i < res.length; i++) {
                                IResource elem = (IResource) elements[i];
                                res[i] = elem.getFullPath();
                        }
                        return res;
                }
                return null;


Clone AbstractionParameter Count: 1Parameter Bindings

dialog. [[#variable5ce73f80]](focus);
if (dialog.open() == Window.OK) {
  Object[] elements = dialog.getResult();
  IPath[] res = new IPath[elements.length];
  for (int i = 0; i < res.length; i++) {
    IResource elem = (IResource) elements[i];
    res[i] = elem.getFullPath();
  }
  return res;
}
return null;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5ce73f80]]
setInitialSelection 
12[[#5ce73f80]]
setInitialFocus