Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 2 | 0.959 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 110 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/AddLibraryToBuildpathAction.java |
2 | 11 | 123 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewElementWizard.java |
| ||||
{ ISchedulingRule rule = null; Job job = Platform.getJobManager().currentJob(); if (job != null) rule = job.getRule(); IRunnableWithProgress runnable = null; if (rule != null) runnable = new WorkbenchRunnableAdapter(op, rule, true); else runnable = new WorkbenchRunnableAdapter(op, ResourcesPlugin.getWorkspace().getRoot()); getContainer().run(false, true, runnable); } |
| ||||
{ ISchedulingRule rule = null; Job job = Platform.getJobManager().currentJob(); if (job != null) rule = job.getRule(); IRunnableWithProgress runnable = null; if (rule != null) runnable = new WorkbenchRunnableAdapter(op, rule, true); else runnable = new WorkbenchRunnableAdapter(op, getSchedulingRule()); getContainer().run(canRunForked(), true, runnable); } |
| |||
{ ISchedulingRule rule = null; Job job = Platform.getJobManager().currentJob(); if (job != null) rule = job.getRule(); IRunnableWithProgress runnable = null; if (rule != null) runnable = new WorkbenchRunnableAdapter(op, rule, true); else runnable = new WorkbenchRunnableAdapter(op, [[#variable59622240]]); getContainer().run( [[#variable596221c0]], true, runnable); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#59622240]] | ResourcesPlugin.getWorkspace().getRoot() |
1 | 2 | [[#59622240]] | getSchedulingRule() |
2 | 1 | [[#596221c0]] | false |
2 | 2 | [[#596221c0]] | canRunForked() |