if (!column.isSelected()) {
element.removeFromParent();
}
if (!dir.mkdirs()) {
throw new RuntimeException(dir.toString()
+ " could not be created!");
}
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/columns/ColumnConfigDialog.java
|
|
File path: /columba-1.4-src/core/src/main/java/org/columba/core/io/StreamCache.java
|
Method name: void updateComponents(boolean)
|
|
Method name: void StreamCache(File, long)
|
Number of AST nodes: 2
|
|
Number of AST nodes: 2
|
|
1 | if (!column.isSelected()) {↵ | | 1 | if (!↵
|
2 | element.removeFromParent↵ | | 2 | dir.mkdirs()) {↵
|
3 | ();↵ | | 3 | throw new RuntimeException(dir.toString()↵
|
4 | ↵ | | 4 | + " could not be created!");↵
|
5 | } | | 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.1 |
Clones location | Clones are in different classes |
Number of node comparisons | 1 |