CloneSet3591


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15121
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ClasspathContainerDefaultPage.java
25305
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/UserLibraryWizardPage.java
Clone Instance
1
Line Count
5
Source Line
121
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ClasspathContainerDefaultPage.java

        /* (non-Javadoc)
         * @see org.eclipse.jdt.ui.wizards.IClasspathContainerPageExtension#initialize(org.eclipse.jdt.core.IJavaProject, org.eclipse.jdt.core.IClasspathEntry)
         */
        public void initialize(IJavaProject project, IClasspathEntry[] currentEntries) {
                for (int i = 0; i < currentEntries.length; i++) {
                        IClasspathEntry curr = currentEntries[i];
                        if (curr.getEntryKind() == IClasspathEntry.CPE_CONTAINER) {
                                fUsedPaths.add(curr.getPath());
                        }
                }
        }


Clone Instance
2
Line Count
5
Source Line
305
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/UserLibraryWizardPage.java

        /* (non-Javadoc)
         * @see org.eclipse.jdt.ui.wizards.IClasspathContainerPageExtension#initialize(org.eclipse.jdt.core.IJavaProject, org.eclipse.jdt.core.IClasspathEntry[])
         */
        public void initialize(IJavaProject project, IClasspathEntry[] currentEntries) {
                for (int i = 0; i < currentEntries.length; i++) {
                        IClasspathEntry curr = currentEntries[i];
                        if (curr.getEntryKind() == IClasspathEntry.CPE_CONTAINER) {
                                fUsedPaths.add(curr.getPath());
                        }
                }
        }


Clone AbstractionParameter Count: 0Parameter Bindings

/* (non-Javadoc)
         * @see org.eclipse.jdt.ui.wizards.IClasspathContainerPageExtension#initialize(org.eclipse.jdt.core.IJavaProject, org.eclipse.jdt.core.IClasspathEntry[])
         */
/* (non-Javadoc)
         * @see org.eclipse.jdt.ui.wizards.IClasspathContainerPageExtension#initialize(org.eclipse.jdt.core.IJavaProject, org.eclipse.jdt.core.IClasspathEntry)
         */
public void initialize(IJavaProject project, IClasspathEntry[] currentEntries) {
  for (int i = 0; i < currentEntries.length; i++) {
    IClasspathEntry curr = currentEntries[i];
    if (curr.getEntryKind() == IClasspathEntry.CPE_CONTAINER) {
      fUsedPaths.add(curr.getPath());
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None