CloneSet2255


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10220.992class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110977
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java
210989
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java
Clone Instance
1
Line Count
10
Source Line
977
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java

        private String getOldMethodParameters() {
                StringBuffer buff = new StringBuffer();
                int i = 0;
                for (Iterator iter = getNotAddedInfos().iterator(); iter.hasNext(); i++) {
                        ParameterInfo info = (ParameterInfo) iter.next();
                        if (i != 0)
                                buff.append(", ");  //$NON-NLS-1$
                        buff.append(createDeclarationString(info));
                }
                return buff.toString();
        }


Clone Instance
2
Line Count
10
Source Line
989
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java

        private String getMethodParameters() {
                StringBuffer buff = new StringBuffer();
                int i = 0;
                for (Iterator iter = getNotDeletedInfos().iterator(); iter.hasNext(); i++) {
                        ParameterInfo info = (ParameterInfo) iter.next();
                        if (i != 0)
                                buff.append(", ");  //$NON-NLS-1$
                        buff.append(createDeclarationString(info));
                }
                return buff.toString();
        }


Clone AbstractionParameter Count: 2Parameter Bindings

private String  [[#variableb48d4220]]() {
  StringBuffer buff = new StringBuffer();
  int i = 0;
  for (Iterator iter = [[#variableb48d41c0]]().iterator(); iter.hasNext(); i++) {
    ParameterInfo info = (ParameterInfo) iter.next();
    if (i != 0)
      buff.append(", "); //$NON-NLS-1$
    buff.append(createDeclarationString(info));
  }
  return buff.toString();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b48d4220]]
getOldMethodParameters 
12[[#b48d4220]]
getMethodParameters 
21[[#b48d41c0]]
getNotAddedInfos 
22[[#b48d41c0]]
getNotDeletedInfos