| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 6 | 2 | 2 | 0.983 | statement_sequence[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 6 | 87 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/BuildPathDialog.java |
| 2 | 6 | 212 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/BuildPathsPropertyPage.java |
| ||||
IWorkspaceRunnable runnable = new IWorkspaceRunnable() {
public void run(IProgressMonitor monitor) throws CoreException, OperationCanceledException {
fBlock.configureJavaProject(monitor);
}
};
IRunnableWithProgress op = new WorkbenchRunnableAdapter(runnable); // lock on root
|
| ||||
IWorkspaceRunnable runnable = new IWorkspaceRunnable() {
public void run(IProgressMonitor monitor) throws CoreException, OperationCanceledException {
fBuildPathsBlock.configureJavaProject(monitor);
}
};
WorkbenchRunnableAdapter op = new WorkbenchRunnableAdapter(runnable);
|
| |||
IWorkspaceRunnable runnable = new IWorkspaceRunnable() {
public void run(IProgressMonitor monitor) throws CoreException, OperationCanceledException {
[[#variable5d741340]].configureJavaProject(monitor);
}
};
[[#variable5d741260]] op = new WorkbenchRunnableAdapter(runnable); // lock on root
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#5d741340]] | fBuildPathsBlock |
| 1 | 2 | [[#5d741340]] | fBlock |
| 2 | 1 | [[#5d741260]] | WorkbenchRunnableAdapter |
| 2 | 2 | [[#5d741260]] | IRunnableWithProgress |