CloneSet199


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
31320.950executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1311888
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/BasicFeatureMap.java
2311747
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/DelegatingFeatureMap.java
3322134
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/DelegatingFeatureMap.java
Next
Last
Clone Instance
1
Line Count
31
Source Line
1888
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/BasicFeatureMap.java

if (match != null) {
  if (isNotificationRequired()) {
    NotificationImpl notification = feature.isMany() ? createNotification(Notification.REMOVE, feature, object, null, count, true): createNotification(feature.isUnsettable() ? Notification.UNSET: Notification.SET, feature, object, feature.getDefaultValue(), Notification.NO_INDEX, true);
    if (notifications != null) {
      notifications.add(notification);
    }
    else {
      notifications = notification;
    }
  }
  notifications = basicRemove(match, notifications);
}


Next
Previous
Clone Instance
2
Line Count
31
Source Line
1747
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/DelegatingFeatureMap.java

if (match != null) {
  if (isNotificationRequired()) {
    NotificationImpl notification = feature.isMany() ? createNotification(Notification.REMOVE, feature, object, null, count, true): createNotification(feature.isUnsettable() ? Notification.UNSET: Notification.SET, feature, object, feature.getDefaultValue(), Notification.NO_INDEX, true);
    if (notifications != null) {
      notifications.add(notification);
    }
    else {
      notifications = notification;
    }
  }
  notifications = basicRemove(match, notifications);
}


First
Previous
Clone Instance
3
Line Count
32
Source Line
2134
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/DelegatingFeatureMap.java

if (match != null) {
  if (isNotificationRequired()) {
    @SuppressWarnings("null")NotificationImpl notification = feature.isMany() ? createNotification(Notification.REMOVE, feature, object, null, indexOf(feature, object), true): createNotification(feature.isUnsettable() ? Notification.UNSET: Notification.SET, feature, object, feature.getDefaultValue(), Notification.NO_INDEX, true);
    if (notifications != null) {
      notifications.add(notification);
    }
    else {
      notifications = notification;
    }
  }
  notifications = basicRemove(match, notifications);
}


Clone AbstractionParameter Count: 2Parameter Bindings

if (match != null) {
  if (isNotificationRequired()) {
     [[#variable1715e000]]NotificationImpl notification = feature.isMany() ? createNotification(Notification.REMOVE, feature, object, null,  [[#variable17169fe0]], true): createNotification(feature.isUnsettable() ? Notification.UNSET: Notification.SET, feature, object, feature.getDefaultValue(), Notification.NO_INDEX, true);
    if (notifications != null) {
      notifications.add(notification);
    }
    else {
      notifications = notification;
    }
  }
  notifications = basicRemove(match, notifications);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1715e000]]
12[[#1715e000]]
13[[#1715e000]]
@SuppressWarnings("null") 
21[[#17169fe0]]
count 
22[[#17169fe0]]
count 
23[[#17169fe0]]
indexOf(feature, object)