CloneSet6178


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3201.000statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13127
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ForeachStatement.java
23173
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ForeachStatement.java
Clone Instance
1
Line Count
3
Source Line
127
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ForeachStatement.java

                // we need the variable to iterate the collection even if the 
                // element variable is not used
                final boolean hasEmptyAction = this.action == null ||
                                   this.action.isEmptyBlock() ||
                                   ((this.action.bits&  IsUsefulEmptyStatement) != 0);


Clone Instance
2
Line Count
3
Source Line
173
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ForeachStatement.java

                final boolean hasEmptyAction = this.action == null ||
                           this.action.isEmptyBlock() ||
                           ((this.action.bits&  IsUsefulEmptyStatement) != 0);


Clone AbstractionParameter Count: 0Parameter Bindings

// we need the variable to iterate the collection even if the 
// element variable is not used
final boolean hasEmptyAction = this.action == null || this.action.isEmptyBlock() || ((this.action.bits&IsUsefulEmptyStatement) != 0);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None