if (namespaces.getPersonalNamespaceSize() > 0) {
it = namespaces.getPersonalIterator();
while (it.hasNext()) {
Namespace pN = (Namespace) it.next();
ListInfo[] list = store.list("", pN.getPrefix() + '%');
result.addAll(Arrays.asList(list));
if (namespaces.getSharedNamespaceSize() > 0) {
it = namespaces.getSharedIterator();
while (it.hasNext()) {
Namespace pN = (Namespace) it.next();
ListInfo[] list = store.list("", pN.getPrefix() + '%');
result.addAll(Arrays.asList(list));
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/subscribe/SynchronizeFolderListCommand.java
|
|
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/subscribe/SynchronizeFolderListCommand.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | if (namespaces.getPersonalNamespaceSize() > 0) {↵ | | 1 | if (namespaces.getSharedNamespaceSize() > 0) {↵
|
2 | it = namespaces.getPersonalIterator();↵ | | 2 | it = namespaces.getSharedIterator();↵
|
3 | while (it.hasNext()) {↵ | | 3 | while (it.hasNext()) {↵
|
4 | Namespace pN = (Namespace) it.next();↵ | | 4 | Namespace pN = (Namespace) it.next();↵
|
|
5 | ListInfo[] list = store.list("", pN.getPrefix() + '%');↵ | | 5 | ListInfo[] list = store.list("", pN.getPrefix() + '%');↵
|
6 | result.addAll(Arrays.asList(list));↵ | | 6 | result.addAll(Arrays.asList(list));↵
|
7 | | | 7 |
|
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 | |
Number of node comparisons | 0 |