if (recurse) {
AbstractFolder subchild = child.findChildWithUID(uid, true);
if (subchild != null) {
return subchild;
}
}
if (recurse) {
AbstractFolder subchild = child.findChildWithName(str, true);
if (subchild != null) {
return subchild;
}
}
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/folder/AbstractFolder.java
|
|
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/folder/AbstractFolder.java
|
Method name: AbstractFolder findChildWithUID(String, boolean)
|
|
Method name: AbstractFolder findChildWithName(String, boolean, Class)
|
Number of AST nodes: 4
|
|
Number of AST nodes: 4
|
|
1 | if (recurse) {↵ | | 1 | if (recurse) {↵
|
2 | AbstractFolder subchild = child.findChildWithUID(uid, true);↵ | | 2 | AbstractFolder subchild = child.findChildWithName(str, true);↵
|
|
3 | if (subchild != null) {↵ | | 3 | if (subchild != null) {↵
|
4 | return subchild;↵ | | 4 | return subchild;↵
|
5 | }↵ | | 5 | }↵
|
6 | } | | 6 | }
|
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 declared in the same class |
Number of node comparisons | 0 |