Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
14 | 2 | 1 | 0.997 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 14 | 176 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgQueries.java |
2 | 14 | 290 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgQueries.java |
| ||||
private Runnable createQueryRunnable( final String question, final Object[] elements, final int[] result) { return new Runnable() { public void run() { ListDialog dialog = new YesNoListDialog(fShell, true); dialog.setAddCancelButton(false); dialog.setBlockOnOpen(true); dialog.setContentProvider(new ArrayContentProvider()); dialog.setLabelProvider(new JavaElementLabelProvider()); dialog.setTitle(fDialogTitle); dialog.setMessage(question); dialog.setInput(elements); dialog.open(); result[0] = dialog.getReturnCode(); } }; } |
| ||||
private Runnable createQueryRunnable( final String question, final Object[] elements, final int[] result) { return new Runnable() { public void run() { ListDialog dialog = new YesNoListDialog(fShell, false); dialog.setAddCancelButton(false); dialog.setBlockOnOpen(true); dialog.setContentProvider(new ArrayContentProvider()); dialog.setLabelProvider(new JavaElementLabelProvider()); dialog.setTitle(fDialogTitle); dialog.setMessage(question); dialog.setInput(elements); dialog.open(); result[0] = dialog.getReturnCode(); } }; } |
| |||
private Runnable createQueryRunnable( final String question, final Object[] elements, final int[] result) { return new Runnable() { public void run() { ListDialog dialog = new YesNoListDialog(fShell, [[#variable754461c0]]); dialog.setAddCancelButton(false); dialog.setBlockOnOpen(true); dialog.setContentProvider(new ArrayContentProvider()); dialog.setLabelProvider(new JavaElementLabelProvider()); dialog.setTitle(fDialogTitle); dialog.setMessage(question); dialog.setInput(elements); dialog.open(); result[0] = dialog.getReturnCode(); } }; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#754461c0]] | true |
1 | 2 | [[#754461c0]] | false |