Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
15 | 2 | 1 | 0.996 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 14 | 83 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/MainTypeSelectionDialog.java |
2 | 15 | 66 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/MultiMainTypeSelectionDialog.java |
| ||||
/* * @see Window#open() */ public int open() { MainMethodSearchEngine engine = new MainMethodSearchEngine(); IType[] types; try { types = engine.searchMainMethods(fRunnableContext, fScope, fStyle); } catch (InterruptedException e) { return CANCEL; } catch (InvocationTargetException e) { ExceptionHandler.handle(e, JavaUIMessages.MainTypeSelectionDialog_errorTitle, e.getMessage()); return CANCEL; } setElements(types); return super.open(); } |
| ||||
/* * @see Window#open() */ public int open() { MainMethodSearchEngine engine = new MainMethodSearchEngine(); IType[] types; try { types = engine.searchMainMethods(fRunnableContext, fScope, fStyle); } catch (InterruptedException e) { return CANCEL; } catch (InvocationTargetException e) { //XX: to do ExceptionHandler.handle(e, JavaUIMessages.MultiMainTypeSelectionDialog_errorTitle, e.getMessage()); return CANCEL; } setElements(types); return super.open(); } |
| |||
/* * @see Window#open() */ public int open() { MainMethodSearchEngine engine = new MainMethodSearchEngine(); IType[] types; try { types = engine.searchMainMethods(fRunnableContext, fScope, fStyle); } catch (InterruptedException e) { return CANCEL; } catch (InvocationTargetException e) { //XX: to do ExceptionHandler.handle(e, JavaUIMessages. [[#variableb598a4a0]], e.getMessage()); return CANCEL; } setElements(types); return super.open(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b598a4a0]] | MultiMainTypeSelectionDialog_errorTitle |
1 | 2 | [[#b598a4a0]] | MainTypeSelectionDialog_errorTitle |