Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 0 | 1.000 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 102 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/AddFolderAction.java |
2 | 8 | 80 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/AddJarAction.java |
| ||||
if (dialog.open() == Window.OK) { Object[] elements = dialog.getResult(); IRuntimeClasspathEntry[] res = new IRuntimeClasspathEntry[elements.length]; for (int i = 0; i < res.length; i++) { IResource elem = (IResource) elements[i]; res[i] = JavaRuntime.newArchiveRuntimeClasspathEntry(elem); } getViewer().addEntries(res); } |
| ||||
if (dialog.open() == Window.OK) { Object[] elements = dialog.getResult(); IRuntimeClasspathEntry[] res = new IRuntimeClasspathEntry[elements.length]; for (int i = 0; i < res.length; i++) { IResource elem = (IResource) elements[i]; res[i] = JavaRuntime.newArchiveRuntimeClasspathEntry(elem); } getViewer().addEntries(res); } |
| |||
if (dialog.open() == Window.OK) { Object[] elements = dialog.getResult(); IRuntimeClasspathEntry[] res = new IRuntimeClasspathEntry[elements.length]; for (int i = 0; i < res.length; i++) { IResource elem = (IResource) elements[i]; res[i] = JavaRuntime.newArchiveRuntimeClasspathEntry(elem); } getViewer().addEntries(res); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |