CloneSet225


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
31201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1311068
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/common/notify/impl/DelegatingNotifyingListImpl.java
2311083
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/common/notify/impl/NotifyingListImpl.java
Next
Last
Clone Instance
1
Line Count
31
Source Line
1068
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/common/notify/impl/DelegatingNotifyingListImpl.java

Notification notification = (collectionSize == 1 ? createNotification(Notification.REMOVE, collection.get(0), null, 0, oldIsSet): createNotification(Notification.REMOVE_MANY, collection, null, Notification.NO_INDEX, oldIsSet));
if (hasInverse()) {
  for (Iterator<E> i = collection.iterator(); i.hasNext();) {
    notifications = inverseRemove(i.next(), notifications);
  }
  if (notifications == null) {
    dispatchNotification(notification);
  }
  else {
    notifications.add(notification);
    notifications.dispatch();
  }
}
else {
  if (notifications == null) {
    dispatchNotification(notification);
  }
  else {
    notifications.add(notification);
    notifications.dispatch();
  }
}


First
Previous
Clone Instance
2
Line Count
31
Source Line
1083
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/common/notify/impl/NotifyingListImpl.java

Notification notification = (collectionSize == 1 ? createNotification(Notification.REMOVE, collection.get(0), null, 0, oldIsSet): createNotification(Notification.REMOVE_MANY, collection, null, Notification.NO_INDEX, oldIsSet));
if (hasInverse()) {
  for (Iterator<E> i = collection.iterator(); i.hasNext();) {
    notifications = inverseRemove(i.next(), notifications);
  }
  if (notifications == null) {
    dispatchNotification(notification);
  }
  else {
    notifications.add(notification);
    notifications.dispatch();
  }
}
else {
  if (notifications == null) {
    dispatchNotification(notification);
  }
  else {
    notifications.add(notification);
    notifications.dispatch();
  }
}


Clone AbstractionParameter Count: 0Parameter Bindings

Notification notification = (collectionSize == 1 ? createNotification(Notification.REMOVE, collection.get(0), null, 0, oldIsSet): createNotification(Notification.REMOVE_MANY, collection, null, Notification.NO_INDEX, oldIsSet));
if (hasInverse()) {
  for (Iterator<E> i = collection.iterator(); i.hasNext();) {
    notifications = inverseRemove(i.next(), notifications);
  }
  if (notifications == null) {
    dispatchNotification(notification);
  }
  else {
    notifications.add(notification);
    notifications.dispatch();
  }
}
else {
  if (notifications == null) {
    dispatchNotification(notification);
  }
  else {
    notifications.add(notification);
    notifications.dispatch();
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None