for (ICommand _command : commandList) {
_command.releaseAllFolderLocks();
}
for(Object uid: list) {
resultList.add(headerList.get(uid), uid);
}
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/core/src/main/java/org/columba/core/command/CompoundCommand.java
|
|
File path: /columba-1.4-src/mail/src/test/java/org/columba/mail/imap/TestServer.java
|
Method name: void releaseAllFolderLocks()
|
|
Method name: void fetchHeaderList(IHeaderList, List, IMAPFolder)
|
Number of AST nodes: 2
|
|
Number of AST nodes: 2
|
|
1 | for (ICommand _command : commandList) {↵ | | 1 | for↵
|
2 | _command.releaseAllFolderLocks(↵ | | 2 | (Object uid: list) {↵
|
3 | );↵ | | 3 | resultList.add(headerList.get(uid), uid);↵
|
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.1 |
Clones location | Clones are in different classes |
Number of node comparisons | 1 |