CloneSet6301


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17173
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/launcher/AbstractJavaMainTab.java
28516
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitMainTab.java
Clone Instance
1
Line Count
7
Source Line
173
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/launcher/AbstractJavaMainTab.java

        /**
         * Show a dialog that lets the user select a project.  This in turn provides
         * context for the main type, allowing the user to key a main type name, or
         * constraining the search for main types to the specified project.
         */
        protected void handleProjectButtonSelected() {
                IJavaProject project = chooseJavaProject();
                if (project == null) {
                        return;
                } //end if
                String projectName = project.getElementName();
                fProjText.setText(projectName);
        } //end handle selected


Clone Instance
2
Line Count
8
Source Line
516
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitMainTab.java

        /**
         * Show a dialog that lets the user select a project.  This in turn provides
         * context for the main type, allowing the user to key a main type name, or
         * constraining the search for main types to the specified project.
         */
        protected void handleProjectButtonSelected() {
                IJavaProject project = chooseJavaProject();
                if (project == null) {
                        return;
                }

                String projectName = project.getElementName();
                fProjText.setText(projectName);
        }


Clone AbstractionParameter Count: 0Parameter Bindings

/**
         * Show a dialog that lets the user select a project.  This in turn provides
         * context for the main type, allowing the user to key a main type name, or
         * constraining the search for main types to the specified project.
         */
protected void handleProjectButtonSelected() {
  IJavaProject project = chooseJavaProject();
  if (project == null) {
    return;
  } //end if
  String projectName = project.getElementName();
  fProjText.setText(projectName);
} //end handle selected
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None