if (dropCommand != null) { dropCommand.undo(); } if (dragCommand != null) { dragCommand.undo(); }
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/common/archive/ArchiveURLConnection.java File path: /emf-2.4.1/src/org/eclipse/emf/edit/command/DragAndDropCommand.java
Method name: OutputStream getOutputStream(boolean, long) Method name: void undo()
Number of AST nodes: 0 Number of AST nodes: 4
1
if (dropCommand != null)
2
    {
3
      dropCommand.undo();
4
    }
5
    if (dragCommand != null)
6
    {
7
      dragCommand.undo();
8
    }
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are in different classes
Number of node comparisons0