CloneSet2980


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1962
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/buildpath/JUnitContainerWizardPage.java
29780
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/UserLibraryPreferencePage.java
Clone Instance
1
Line Count
9
Source Line
62
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/buildpath/JUnitContainerWizardPage.java

        public static IJavaProject getPlaceholderProject() {
                String name = "####internal"; //$NON-NLS-1$
                IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
                while (true) {
                        IProject project = root.getProject(name);
                        if ( !project.exists()) {
                                return JavaCore.create(project);
                        }
                        name += '1';
                }
        }


Clone Instance
2
Line Count
9
Source Line
780
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/UserLibraryPreferencePage.java

        public static IJavaProject getPlaceholderProject() {
                String name = "####internal"; //$NON-NLS-1$
                IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
                while (true) {
                        IProject project = root.getProject(name);
                        if ( !project.exists()) {
                                return JavaCore.create(project);
                        }
                        name += '1';
                }
        }


Clone AbstractionParameter Count: 0Parameter Bindings

public static IJavaProject getPlaceholderProject() {
  String name = "####internal"; //$NON-NLS-1$
  IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
  while (true) {
    IProject project = root.getProject(name);
    if ( !project.exists()) {
      return JavaCore.create(project);
    }
    name += '1';
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None