CloneSet4586


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5240.961class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
151543
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/DeltaProcessor.java
251872
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/DeltaProcessor.java
Clone Instance
1
Line Count
5
Source Line
1543
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/DeltaProcessor.java

        /*
         * Returns the other root infos for the given path. Look in the old other roots table if kind is REMOVED.
         */
        private ArrayList otherRootsInfo(IPath path, int kind) {
                if (kind == IResourceDelta.REMOVED) {
                        return (ArrayList) this.state.oldOtherRoots.get(path);
                }
                return (ArrayList) this.state.otherRoots.get(path);
        }


Clone Instance
2
Line Count
5
Source Line
1872
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/DeltaProcessor.java

        /*
         * Returns the root info for the given path. Look in the old roots table if kind is REMOVED.
         */
        private RootInfo rootInfo(IPath path, int kind) {
                if (kind == IResourceDelta.REMOVED) {
                        return (RootInfo) this.state.oldRoots.get(path);
                }
                return (RootInfo) this.state.roots.get(path);
        }


Clone AbstractionParameter Count: 4Parameter Bindings

/*
         * Returns the other root infos for the given path. Look in the old other roots table if kind is REMOVED.
         */
/*
         * Returns the root info for the given path. Look in the old roots table if kind is REMOVED.
         */
private [[#variable99b17b20]]  [[#variable99b17ac0]](IPath path, int kind) {
  if (kind == IResourceDelta.REMOVED) {
    return ( [[#variable99b17b20]]) this.state. [[#variable99b17a60]].get(path);
  }
  return ( [[#variable99b17b20]]) this.state. [[#variable99b17a00]].get(path);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#99b17b20]]
ArrayList 
12[[#99b17b20]]
RootInfo 
21[[#99b17ac0]]
otherRootsInfo 
22[[#99b17ac0]]
rootInfo 
31[[#99b17a60]]
oldOtherRoots 
32[[#99b17a60]]
oldRoots 
41[[#99b17a00]]
otherRoots 
42[[#99b17a00]]
roots