CloneSet3157


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

                                if ( !collectionElementType.isCompatibleWith(elementType) &&
                                                    !scope.isBoxingCompatibleWith(collectionElementType, elementType)) {
                                        scope.problemReporter().notCompatibleTypesErrorInForeach(collection, collectionElementType, elementType);
                                }


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

                                                        if ( !collectionElementType.isCompatibleWith(elementType) &&
                                                                            !scope.isBoxingCompatibleWith(collectionElementType, elementType)) {
                                                                scope.problemReporter().notCompatibleTypesErrorInForeach(collection, collectionElementType, elementType);
                                                        }


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

                                        if ( !collectionElementType.isCompatibleWith(elementType) &&
                                                            !scope.isBoxingCompatibleWith(collectionElementType, elementType)) {
                                                scope.problemReporter().notCompatibleTypesErrorInForeach(collection, collectionElementType, elementType);
                                        }


Clone AbstractionParameter Count: 0Parameter Bindings

if ( !collectionElementType.isCompatibleWith(elementType) && !scope.isBoxingCompatibleWith(collectionElementType, elementType)) {
  scope.problemReporter().notCompatibleTypesErrorInForeach(collection, collectionElementType, elementType);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None