File path: /emf-2.4.1/src/org/eclipse/emf/edit/ui/provider/NotifyChangedToViewerRefresh.java | File path: /emf-2.4.1/src/org/eclipse/emf/edit/ui/provider/NotifyChangedToViewerRefresh.java | |||
Method name: void refreshTableViewer(TableViewer, Object, int, Object, Object, Object, int)
|
Method name: void refreshAbstractTreeViewer(AbstractTreeViewer, Object, int, Object, Object, Object, int)
|
|||
Number of AST nodes: 9 | Number of AST nodes: 9 | |||
1 | case Notification.REMOVE_MANY:↵ | 1 | case Notification.REMOVE_MANY:↵ | |
2 | {↵ | 2 | {↵ | |
3 | viewer.remove(((Collection<?>)oldValue).toArray());↵ | 3 | viewer.remove(((Collection<?>)oldValue).toArray());↵ | |
4 | break;↵ | 4 | break;↵ | |
5 | }↵ | 5 | }↵ | |
6 | case Notification.MOVE:↵ | 6 | case Notification.MOVE:↵ | |
7 | case Notification.UNSET:↵ | 7 | case Notification.UNSET:↵ | |
8 | case Notification.SET:↵ | 8 | case Notification.SET:↵ | |
9 | default:↵ | 9 | default:↵ | |
10 | {↵ | 10 | {↵ | |
11 | refreshStructuredViewer(viewer, object, eventType, feature, oldValue, newValue, index);↵ | 11 | refreshStructuredViewer(viewer, object, eventType, feature, oldValue, newValue, index);↵ | |
12 | break; | 12 |
| |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 1 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are declared in the same class |
Number of node comparisons | 0 |
Number of mapped statements | 0 |
Number of unmapped statements in the first code fragment | 0 |
Number of unmapped statements in the second code fragment | 0 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Unknown type |
ID | Statement | ID | Statement |
---|
Row | Violation |
---|