CloneSet2916


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18268
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredBlock.java
28352
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredBlock.java
Clone Instance
1
Line Count
8
Source Line
268
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredBlock.java

        if (updatedCount == 0) return null; // not interesting block

        // resize statement collection if necessary
        if (updatedCount != this.statementCount) {
                this.blockDeclaration.statements = new Statement[updatedCount];
                System.arraycopy(updatedStatements, 0, this.blockDeclaration.statements, 0, updatedCount);
        }
        else   {
                this.blockDeclaration.statements = updatedStatements;
        }


Clone Instance
2
Line Count
8
Source Line
352
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredBlock.java

        if (updatedCount == 0) return null; // not interesting block

        // resize statement collection if necessary
        if (updatedCount != this.statementCount) {
                this.blockDeclaration.statements = new Statement[updatedCount];
                System.arraycopy(updatedStatements, 0, this.blockDeclaration.statements, 0, updatedCount);
        }
        else   {
                this.blockDeclaration.statements = updatedStatements;
        }


Clone AbstractionParameter Count: 0Parameter Bindings

if (updatedCount == 0)
  return null; // not interesting block
// resize statement collection if necessary
if (updatedCount != this.statementCount) {
  this.blockDeclaration.statements = new Statement[updatedCount];
  System.arraycopy(updatedStatements, 0, this.blockDeclaration.statements, 0, updatedCount);
}
else {
  this.blockDeclaration.statements = updatedStatements;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None