CloneSet352


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

if (size > 0) {
  Object[] oldData = delegateToArray();
  int oldSize = size;
  doClear(size, oldData);
  NotificationChain notifications = createNotificationChain(oldSize);
  for (int i = 0; i < oldSize; ++i) {
    @SuppressWarnings("unchecked")E object = (E) oldData[i];
    notifications = inverseRemove(object, notifications);
  }
  if (notifications != null)
    notifications.dispatch();
}
else {
  doClear();
}


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

if (size > 0) {
  Object[] oldData = data;
  int oldSize = size;
  doClear();
  NotificationChain notifications = createNotificationChain(oldSize);
  for (int i = 0; i < oldSize; ++i) {
    @SuppressWarnings("unchecked")E object = (E) oldData[i];
    notifications = inverseRemove(object, notifications);
  }
  if (notifications != null)
    notifications.dispatch();
}
else {
  doClear();
}


Clone AbstractionParameter Count: 2Parameter Bindings

if (size > 0) {
  Object[] oldData = [[#variable172504c0]];
  int oldSize = size;
  doClear [[#variable17250480]];
  NotificationChain notifications = createNotificationChain(oldSize);
  for (int i = 0; i < oldSize; ++i) {
    @SuppressWarnings("unchecked")E object = (E) oldData[i];
    notifications = inverseRemove(object, notifications);
  }
  if (notifications != null)
    notifications.dispatch();
}
else {
  doClear();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#172504c0]]
delegateToArray() 
12[[#172504c0]]
data 
21[[#17250480]]
(size, oldData) 
22[[#17250480]]
()