CloneSet2643


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5210.996statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15644
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelOperation.java
25692
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelOperation.java
Clone Instance
1
Line Count
5
Source Line
644
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelOperation.java

                                        int index = this.actionsStart - 1;
                                        while ((index = topLevelOp.firstActionWithID(id, index + 1)) >= 0) {
                                                // remove action[index]
                                                System.arraycopy(postActions, index + 1, postActions, index, topLevelOp.actionsEnd - index);
                                                postActions[topLevelOp.actionsEnd-- ] = null;
                                        }


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

                int index = this.actionsStart - 1;
                while ((index = topLevelOp.firstActionWithID(actionID, index + 1)) >= 0) {
                        // remove action[index]
                        System.arraycopy(postActions, index + 1, postActions, index, topLevelOp.actionsEnd - index);
                        postActions[topLevelOp.actionsEnd-- ] = null;
                }


Clone AbstractionParameter Count: 1Parameter Bindings

int index = this.actionsStart - 1;
while ((index = topLevelOp.firstActionWithID( [[#variableb735f5a0]], index + 1)) >= 0) {
  // remove action[index]
  System.arraycopy(postActions, index + 1, postActions, index, topLevelOp.actionsEnd - index);
  postActions[topLevelOp.actionsEnd-- ] = null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b735f5a0]]
id 
12[[#b735f5a0]]
actionID