if (firstLogin) {
if( firstLoginAction != null) {
firstLoginAction.actionPerformed();
}
}
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/imap/IMAPServer.java
|
|
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/folder/command/ExportFolderCommand.java
|
Method name: void login()
|
|
Method name: void execute(IWorkerStatusController)
|
Number of AST nodes: 3
|
|
Number of AST nodes: 2
|
|
1 | if (firstLogin) {↵ | | 1 | if (↵
|
2 | if( firstLoginAction != null) {↵ | | |
|
3 | firstLoginAction.actionPerformed↵ | | 2 | os != null) {↵
|
4 | ();↵ | | 3 | os.close();↵
|
5 | }↵ | | 4 | ↵
|
6 | } | | 5 | }
|
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 |