CloneSet3659


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
14379
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/CompilationUnitDeclaration.java
24388
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/CompilationUnitDeclaration.java
Clone Instance
1
Line Count
4
Source Line
379
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/CompilationUnitDeclaration.java

                                // resize string literals
                                if (this.stringLiterals.length != stringLiteralsLength) {
                                        System.arraycopy(this.stringLiterals, 0, (stringLiterals = new StringLiteral[stringLiteralsLength]), 0, stringLiteralsLength);
                                }
                                Arrays.sort(this.stringLiterals, STRING_LITERAL_COMPARATOR);


Clone Instance
2
Line Count
4
Source Line
388
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/CompilationUnitDeclaration.java

                                // need to iterate both arrays to find non matching elements
                                if (this.stringLiterals.length != stringLiteralsLength) {
                                        System.arraycopy(this.stringLiterals, 0, (stringLiterals = new StringLiteral[stringLiteralsLength]), 0, stringLiteralsLength);
                                }
                                Arrays.sort(this.stringLiterals, STRING_LITERAL_COMPARATOR);


Clone AbstractionParameter Count: 0Parameter Bindings

// resize string literals
// need to iterate both arrays to find non matching elements
if (this.stringLiterals.length != stringLiteralsLength) {
  System.arraycopy(this.stringLiterals, 0, (stringLiterals = new StringLiteral[stringLiteralsLength]), 0, stringLiteralsLength);
}
Arrays.sort(this.stringLiterals, STRING_LITERAL_COMPARATOR);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None