CloneSet4370


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6320.965class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16406
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JDIDebugUIPlugin.java
26221
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitBaseLaunchConfiguration.java
3642
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/SWTUtil.java
Clone Instance
1
Line Count
6
Source Line
406
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JDIDebugUIPlugin.java

        /**
         * Returns the standard display to be used. The method first checks, if
         * the thread calling this method has an associated display. If so, this
         * display is returned. Otherwise the method returns the default display.
         */
        public static Display getStandardDisplay() {
                Display display;
                display = Display.getCurrent();
                if (display == null)
                        display = Display.getDefault();
                return display;
        }


Clone Instance
2
Line Count
6
Source Line
221
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitBaseLaunchConfiguration.java

        private Display getDisplay() {
                Display display;
                display = Display.getCurrent();
                if (display == null)
                        display = Display.getDefault();
                return display;
        }


Clone Instance
3
Line Count
6
Source Line
42
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/SWTUtil.java

        /**
         * Returns the standard display to be used. The method first checks, if
         * the thread calling this method has an associated disaply. If so, this
         * display is returned. Otherwise the method returns the default display.
         */
        public static Display getStandardDisplay() {
                Display display;
                display = Display.getCurrent();
                if (display == null)
                        display = Display.getDefault();
                return display;
        }


Clone AbstractionParameter Count: 2Parameter Bindings

 [[#variablea1bcecc0]]Display  [[#variablea1bcec20]]() {
  Display display;
  display = Display.getCurrent();
  if (display == null)
    display = Display.getDefault();
  return display;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a1bcecc0]]
/**
 * Returns the standard display to be used. The method first checks, if
 * the thread calling this method has an associated display. If so, this
 * display is returned. Otherwise the method returns the default display.
 */
public static 
12[[#a1bcecc0]]
private 
13[[#a1bcecc0]]
/**
 * Returns the standard display to be used. The method first checks, if
 * the thread calling this method has an associated disaply. If so, this
 * display is returned. Otherwise the method returns the default display.
 */
public static 
21[[#a1bcec20]]
getStandardDisplay 
22[[#a1bcec20]]
getDisplay 
23[[#a1bcec20]]
getStandardDisplay