CloneSet4634


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7240.960class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17293
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/debug/ui/launchConfigurations/JavaMainTab.java
27306
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/debug/ui/launchConfigurations/JavaMainTab.java
Clone Instance
1
Line Count
7
Source Line
293
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/debug/ui/launchConfigurations/JavaMainTab.java

        /**
         * updates the external jars attribute from the specified launch config
         * @param config the config to load from
         */
        private void updateExternalJars(ILaunchConfiguration config) {
                boolean search = false;
                try {
                        search = config.getAttribute(ATTR_INCLUDE_EXTERNAL_JARS, false);
                } //end try 
                catch (CoreException e) {
                                         JDIDebugUIPlugin.log(e);
                }
                fSearchExternalJarsCheckButton.setSelection(search);
        }


Clone Instance
2
Line Count
7
Source Line
306
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/debug/ui/launchConfigurations/JavaMainTab.java

        /**
         * update the inherited mains attribute from the specified launch config
         * @param config the config to load from
         */
        private void updateInheritedMainsFromConfig(ILaunchConfiguration config) {
                boolean inherit = false;
                try {
                        inherit = config.getAttribute(ATTR_CONSIDER_INHERITED_MAIN, false);
                } //end try 
                catch (CoreException e) {
                                         JDIDebugUIPlugin.log(e);
                }
                fConsiderInheritedMainButton.setSelection(inherit);
        }


Clone AbstractionParameter Count: 4Parameter Bindings

/**
         * updates the external jars attribute from the specified launch config
         * @param config the config to load from
         */
/**
         * update the inherited mains attribute from the specified launch config
         * @param config the config to load from
         */
private void [[#variable56730460]](ILaunchConfiguration config) {
  boolean  [[#variable567303e0]]= false;
  try {
     [[#variable567303e0]]= config.getAttribute( [[#variable56730340]], false);
  } //end try 
  catch (CoreException e) {
    JDIDebugUIPlugin.log(e);
  }
   [[#variable56730280]].setSelection( [[#variable567303e0]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#56730460]]
updateExternalJars 
12[[#56730460]]
updateInheritedMainsFromConfig 
21[[#567303e0]]
search 
22[[#567303e0]]
inherit 
31[[#56730340]]
ATTR_INCLUDE_EXTERNAL_JARS 
32[[#56730340]]
ATTR_CONSIDER_INHERITED_MAIN 
41[[#56730280]]
fSearchExternalJarsCheckButton 
42[[#56730280]]
fConsiderInheritedMainButton