NotificationImpl notification =
feature.isMany() ?
createNotification
(Notification.REMOVE,
feature,
value,
null,
indexOf(feature, value),
true) :
createNotification
(feature.isUnsettable() ? Notification.UNSET : Notification.SET,
feature,
value,
feature.getDefaultValue(),
Notification.NO_INDEX,
true);
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/util/BasicFeatureMap.java
|
|
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/util/DelegatingFeatureMap.java
|
Method name: NotificationChain basicRemove(Object, NotificationChain)
|
|
Method name: NotificationChain shadowRemove(Entry, NotificationChain)
|
Number of AST nodes: 0
|
|
Number of AST nodes: 1
|
|
| | | 1 | NotificationImpl notification = ↵
|
| | | 2 | feature.isMany() ?↵
|
| | | 3 | createNotification↵
|
| | | 4 | (Notification.REMOVE,↵
|
| | | 5 | feature,↵
|
| | | 6 | value,↵
|
| | | 7 | null, ↵
|
| | | 8 | indexOf(feature, value),↵
|
| | | 9 | true) :↵
|
| | | 10 | createNotification↵
|
| | | 11 | (feature.isUnsettable() ? Notification.UNSET : Notification.SET, ↵
|
| | | 12 | feature,↵
|
| | | 13 | value,↵
|
| | | 14 | feature.getDefaultValue(), ↵
|
| | | 15 | Notification.NO_INDEX,↵
|
| | | 16 | true);
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in different classes having the same super class |
Number of node comparisons | 0 |