if (timer != null) {
timer.stop();
timer = null;
}
if (os != null) {
os.close();
}
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/mailchecking/AbstractMailCheckingAction.java
|
|
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/folder/command/ExportFolderCommand.java
|
Method name: void restartTimer()
|
|
Method name: void execute(IWorkerStatusController)
|
Number of AST nodes: 3
|
|
Number of AST nodes: 2
|
|
1 | if (timer != null) {↵ | | 1 | if (os != null) {↵
|
2 | timer.stop();↵ | | 2 | ↵
|
3 | timer = null;↵ | | |
|
| | | 3 | os.close();↵
|
4 | } | | 4 | }
|
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 |