for (Object uid : uids) {
if (exists(uid)) {
list.add(uid);
}
}
if (child instanceof IMAPFolder) {
if (removeNotMarkedSubfolders(child)) {
// A child got removed -> stay at this position to
// get the next
i--;
}
}
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/folder/virtual/VirtualFolder.java
|
|
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/folder/imap/IMAPRootFolder.java
|
Method name: void innerCopy(IMailbox, Object[])
|
|
Method name: boolean removeNotMarkedSubfolders(AbstractFolder)
|
Number of AST nodes: 3
|
|
Number of AST nodes: 3
|
|
1 | for (Object uid : uids) {↵ | | 1 | if (child instanceof IMAPFolder) {↵
|
2 | if (exists(uid)) {↵ | | 2 | if (↵
|
3 | list.add(uid)↵ | | 3 | removeNotMarkedSubfolders(child)) {↵
|
| | | 4 | // A child got removed -> stay at this position to↵
|
| | | 5 | // get the next↵
|
4 | ;↵ | | 6 | i--;↵
|
5 | }↵ | | 7 | }↵
|
6 | } | | 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.2 |
Clones location | Clones are in different classes having the same super class |
Number of node comparisons | 1 |