Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 1 | 0.997 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 366 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/BuildPathDialogAccess.java |
2 | 12 | 513 | 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; |
| ||||
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; |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5ce73f80]] | setInitialSelection |
1 | 2 | [[#5ce73f80]] | setInitialFocus |