CloneSet667


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9201.000block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19464
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/DelegatingFeatureMap.java
29543
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/DelegatingFeatureMap.java
Next
Last
Clone Instance
1
Line Count
9
Source Line
464
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/DelegatingFeatureMap.java

{
  if (entryFeature.isUnique()) {
    for (int i = 0, size = delegateSize(); i < size; ++i) {
      Entry otherEntry = delegateGet(i);
      if (otherEntry.equals(object) && i != index) {
        throw new IllegalArgumentException("The \'no duplicates\' constraint is violated");
      }
    }
  }
}


First
Previous
Clone Instance
2
Line Count
9
Source Line
543
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/DelegatingFeatureMap.java

{
  if (entryFeature.isUnique()) {
    for (int i = 0, size = delegateSize(); i < size; ++i) {
      Entry otherEntry = delegateGet(i);
      if (otherEntry.equals(object) && i != index) {
        throw new IllegalArgumentException("The \'no duplicates\' constraint is violated");
      }
    }
  }
}


Clone AbstractionParameter Count: 0Parameter Bindings

{
  if (entryFeature.isUnique()) {
    for (int i = 0, size = delegateSize(); i < size; ++i) {
      Entry otherEntry = delegateGet(i);
      if (otherEntry.equals(object) && i != index) {
        throw new IllegalArgumentException("The \'no duplicates\' constraint is violated");
      }
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None