CloneSet6191


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15349
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
25371
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
Clone Instance
1
Line Count
5
Source Line
349
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java

                                                // filter out enum constants
                                                previousFieldStart = fieldStart;
                                                if ( ++fieldIndex < fieldCount) { // find next field if any
                                                        fieldStart = (field = typeDeclaration.fields[fieldIndex]).declarationSourceStart;
                                                }
                                                else   {
                                                        fieldStart = Integer.MAX_VALUE;
                                                }


Clone Instance
2
Line Count
5
Source Line
371
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java

                                        previousFieldStart = fieldStart;
                                        if ( ++fieldIndex < fieldCount) { // find next field if any
                                                fieldStart = (field = typeDeclaration.fields[fieldIndex]).declarationSourceStart;
                                        }
                                        else   {
                                                fieldStart = Integer.MAX_VALUE;
                                        }


Clone AbstractionParameter Count: 0Parameter Bindings

// filter out enum constants
previousFieldStart = fieldStart;
if ( ++fieldIndex < fieldCount) { // find next field if any
  fieldStart = (field = typeDeclaration.fields[fieldIndex]).declarationSourceStart;
}
else {
  fieldStart = Integer.MAX_VALUE;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None