if (dragCommand != null) { dragCommand.dispose(); } if (dropCommand != null) { dropCommand.dispose(); }
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: void close() Method name: void dispose()
Number of AST nodes: 0 Number of AST nodes: 4
1
if (dragCommand != null)
2
    {
3
      dragCommand.dispose();
4
    }
5
    if (dropCommand != null)
6
    {
7
      dropCommand.dispose();
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