CloneSet4325


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8220.963statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18170
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/NLSKeyHyperlink.java
28383
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertyKeyHyperlink.java
Clone Instance
1
Line Count
8
Source Line
170
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/NLSKeyHyperlink.java

                final IEditorStatusLine statusLine = (IEditorStatusLine) editor.getAdapter(IEditorStatusLine.class );
                if (statusLine != null) {
                        display.asyncExec(new Runnable() {
                                /*
                                 * @see java.lang.Runnable#run()
                                 */
                                public void run() {
                                        statusLine.setMessage(true, message, null);
                                }
                                          } );
                }


Clone Instance
2
Line Count
8
Source Line
383
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertyKeyHyperlink.java

                final IEditorStatusLine statusLine = (IEditorStatusLine) fEditor.getAdapter(IEditorStatusLine.class );
                if (statusLine != null) {
                        fShell.getDisplay().asyncExec(new Runnable() {
                                /*
                                 * @see java.lang.Runnable#run()
                                 */
                                public void run() {
                                        statusLine.setMessage(true, message, null);
                                }
                                                      } );
                }


Clone AbstractionParameter Count: 2Parameter Bindings

final IEditorStatusLine statusLine = (IEditorStatusLine)  [[#variable95d99160]].getAdapter(IEditorStatusLine.class );
if (statusLine != null) {
   [[#variable95d99140]].asyncExec(new Runnable() {
                                     /*
                                                                      * @see java.lang.Runnable#run()
                                                                      */
                                     public void run() {
                                       statusLine.setMessage(true, message, null);
                                     }
                                   } );
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#95d99160]]
editor 
12[[#95d99160]]
fEditor 
21[[#95d99140]]
display 
22[[#95d99140]]
fShell.getDisplay()