if (mapCommand != null)
{
mapCommand.undo();
}
addCommand.doUndo();
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/mapping/command/AddOverrideCommand.java
|
|
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/resource/impl/URIHandlerImpl.java
|
Method name: void undo()
|
|
Method name: Map contentDescription(URI, Map,?>)
|
Number of AST nodes: 3
|
|
Number of AST nodes: 0
|
|
1 | if (mapCommand != null)↵ | | | |
2 | {↵ | | | |
3 | mapCommand.undo();↵ | | | |
4 | }↵ | | | |
5 | addCommand.doUndo(); | | | |
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 |
Number of node comparisons | 0 |