CloneSet4492


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1494
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/util/JavadocUtil.java
24141
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewVariableCompletionProposal.java
Clone Instance
1
Line Count
4
Source Line
94
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/util/JavadocUtil.java

                HashSet leadingNames = new HashSet();
                for (Iterator iter = methodDeclaration.parameters().iterator(); iter.hasNext();) {
                        SingleVariableDeclaration curr = (SingleVariableDeclaration) iter.next();
                        leadingNames.add(curr.getName().getIdentifier());
                }


Clone Instance
2
Line Count
4
Source Line
141
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewVariableCompletionProposal.java

                                HashSet leadingNames = new HashSet();
                                for (Iterator iter = methodDeclaration.parameters().iterator(); iter.hasNext();) {
                                        SingleVariableDeclaration curr = (SingleVariableDeclaration) iter.next();
                                        leadingNames.add(curr.getName().getIdentifier());
                                }


Clone AbstractionParameter Count: 0Parameter Bindings

HashSet leadingNames = new HashSet();
for (Iterator iter = methodDeclaration.parameters().iterator(); iter.hasNext();) {
  SingleVariableDeclaration curr = (SingleVariableDeclaration) iter.next();
  leadingNames.add(curr.getName().getIdentifier());
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None