CloneSet403


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12220.953block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112477
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/common/notify/impl/NotifyingListImpl.java
212621
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/common/notify/impl/NotifyingListImpl.java
Next
Last
Clone Instance
1
Line Count
12
Source Line
477
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/common/notify/impl/NotifyingListImpl.java

{
  doAddAllUnique(index, collection);
  if (hasInverse()) {
    NotificationChain notifications = createNotificationChain(collectionSize);
    int lastIndex = index + collectionSize;
    for (int i = index; i < lastIndex; ++i) {
      @SuppressWarnings("unchecked")E object = (E) data[i];
      notifications = inverseAdd(object, notifications);
    }
    if (notifications != null)
      notifications.dispatch();
  }
}


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

{
  doAddAllUnique(index, objects, start, end);
  if (hasInverse()) {
    NotificationChain notifications = createNotificationChain(collectionSize);
    int lastIndex = index + collectionSize;
    for (int i = index; i < lastIndex; ++i) {
      @SuppressWarnings("unchecked")E object = (E) data[i];
      notifications = inverseAdd(object, notifications);
    }
    if (notifications != null)
      notifications.dispatch();
  }
}


Clone AbstractionParameter Count: 2Parameter Bindings

{
  doAddAllUnique( [[#variable1728b320]],  [[#variable1728e640]]);
  if (hasInverse()) {
    NotificationChain notifications = createNotificationChain(collectionSize);
    int lastIndex = index + collectionSize;
    for (int i = index; i < lastIndex; ++i) {
      @SuppressWarnings("unchecked")E object = (E) data[i];
      notifications = inverseAdd(object, notifications);
    }
    if (notifications != null)
      notifications.dispatch();
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1728b320]]
index 
12[[#1728b320]]
index, objects, start 
21[[#1728e640]]
collection 
22[[#1728e640]]
end