CloneSet6149


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.958statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13215
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindOccurrencesInFileAction.java
23135
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenAction.java
Clone Instance
1
Line Count
3
Source Line
215
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindOccurrencesInFileAction.java

                IEditorStatusLine statusLine = (IEditorStatusLine) editor.getAdapter(IEditorStatusLine.class );
                if (statusLine != null)
                        statusLine.setMessage(true, msg, null);


Clone Instance
2
Line Count
3
Source Line
135
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenAction.java

                                IEditorStatusLine statusLine = (IEditorStatusLine) fEditor.getAdapter(IEditorStatusLine.class );
                                if (statusLine != null)
                                        statusLine.setMessage(true, ActionMessages.OpenAction_error_messageBadSelection, null);


Clone AbstractionParameter Count: 2Parameter Bindings

IEditorStatusLine statusLine = (IEditorStatusLine)  [[#variable5c83a660]].getAdapter(IEditorStatusLine.class );
if (statusLine != null)
  statusLine.setMessage(true,  [[#variable5c83a620]], null);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5c83a660]]
editor 
12[[#5c83a660]]
fEditor 
21[[#5c83a620]]
msg 
22[[#5c83a620]]
ActionMessages.OpenAction_error_messageBadSelection