CloneSet580


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

{
  if (entryFeature.isUnique()) {
    Entry[] entries = (Entry[]) data;
    for (int i = 0; i < size; ++i) {
      Entry otherEntry = entries[i];
      if (otherEntry.equals(entry) && i != index) {
        throw new IllegalArgumentException("The \'no duplicates\' constraint is violated");
      }
    }
  }
}


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

{
  if (entryFeature.isUnique()) {
    Entry[] entries = (Entry[]) data;
    for (int i = 0; i < size; ++i) {
      Entry otherEntry = entries[i];
      if (otherEntry.equals(entry) && i != index) {
        throw new IllegalArgumentException("The \'no duplicates\' constraint is violated");
      }
    }
  }
}


Clone AbstractionParameter Count: 0Parameter Bindings

{
  if (entryFeature.isUnique()) {
    Entry[] entries = (Entry[]) data;
    for (int i = 0; i < size; ++i) {
      Entry otherEntry = entries[i];
      if (otherEntry.equals(entry) && i != index) {
        throw new IllegalArgumentException("The \'no duplicates\' constraint is violated");
      }
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None