| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 2 | 2 | 0.958 | statement_sequence[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 215 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindOccurrencesInFileAction.java |
| 2 | 3 | 135 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenAction.java |
| ||||
IEditorStatusLine statusLine = (IEditorStatusLine) editor.getAdapter(IEditorStatusLine.class );
if (statusLine != null)
statusLine.setMessage(true, msg, null);
|
| ||||
IEditorStatusLine statusLine = (IEditorStatusLine) fEditor.getAdapter(IEditorStatusLine.class );
if (statusLine != null)
statusLine.setMessage(true, ActionMessages.OpenAction_error_messageBadSelection, null);
|
| |||
IEditorStatusLine statusLine = (IEditorStatusLine) [[#variable5c83a660]].getAdapter(IEditorStatusLine.class ); if (statusLine != null) statusLine.setMessage(true, [[#variable5c83a620]], null); |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#5c83a660]] | editor |
| 1 | 2 | [[#5c83a660]] | fEditor |
| 2 | 1 | [[#5c83a620]] | msg |
| 2 | 2 | [[#5c83a620]] | ActionMessages.OpenAction_error_messageBadSelection |