CloneSet536


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
23201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
123704
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/edit/command/SetCommand.java
223781
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/edit/command/SetCommand.java
Next
Last
Clone Instance
1
Line Count
23
Source Line
704
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/edit/command/SetCommand.java

// Either set or unset the feature.
//
if (ownerList != null) {
  if (removeCommand == null || ownerList.size() > index && ownerList.get(index) == oldValue) {
    ownerList.set(index, value);
  }
  else {
    ownerList.add(index, value);
  }
}
else
  if (value == UNSET_VALUE) {
    owner.eUnset(feature);
  }
  else {
    owner.eSet(feature, value);
  }
// Update the containing map, if necessary.
//
updateEMap(owner, feature);


First
Previous
Clone Instance
2
Line Count
23
Source Line
781
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/edit/command/SetCommand.java

// Either set or unset the feature.
//
if (ownerList != null) {
  if (removeCommand == null || ownerList.size() > index && ownerList.get(index) == oldValue) {
    ownerList.set(index, value);
  }
  else {
    ownerList.add(index, value);
  }
}
else
  if (value == UNSET_VALUE) {
    owner.eUnset(feature);
  }
  else {
    owner.eSet(feature, value);
  }
// Update the containing map, if necessary.
//
updateEMap(owner, feature);


Clone AbstractionParameter Count: 0Parameter Bindings

// Either set or unset the feature.
//
if (ownerList != null) {
  if (removeCommand == null || ownerList.size() > index && ownerList.get(index) == oldValue) {
    ownerList.set(index, value);
  }
  else {
    ownerList.add(index, value);
  }
}
else
  if (value == UNSET_VALUE) {
    owner.eUnset(feature);
  }
  else {
    owner.eSet(feature, value);
  }
// Update the containing map, if necessary.
//
updateEMap(owner, feature);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None