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: OutputStream getOutputStream(boolean, long)
|
|
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 | }
|
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 |