CloneSet2837


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1935
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/classpath/ClasspathModel.java
2964
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/classpath/ClasspathModel.java
Clone Instance
1
Line Count
9
Source Line
35
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/classpath/ClasspathModel.java

                Iterator entries = childEntries.iterator();
                while (entries.hasNext()) {
                        Object element = entries.next();
                        if (element instanceof ClasspathGroup) {
                                if (((ClasspathGroup) element).contains(newEntry)) {
                                        return null;
                                }
                        }
                        else   if (element.equals(newEntry)) {
                                return null;
                               }
                }


Clone Instance
2
Line Count
9
Source Line
64
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/classpath/ClasspathModel.java

                Iterator entries = childEntries.iterator();
                while (entries.hasNext()) {
                        Object element = entries.next();
                        if (element instanceof ClasspathGroup) {
                                if (((ClasspathGroup) element).contains(newEntry)) {
                                        return null;
                                }
                        }
                        else   if (element.equals(newEntry)) {
                                return null;
                               }
                }


Clone AbstractionParameter Count: 0Parameter Bindings

Iterator entries = childEntries.iterator();
while (entries.hasNext()) {
  Object element = entries.next();
  if (element instanceof ClasspathGroup) {
    if (((ClasspathGroup) element).contains(newEntry)) {
      return null;
    }
  }
  else
    if (element.equals(newEntry)) {
      return null;
    }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None