try {
FileManager.openURL(url.toString());
} catch (Exception e) {
e.printStackTrace();
}
try {
theStatusController.setProgressBarMaximum(arg0.available());
} catch (IOException e) {
// nothing to do
}
read = 0;
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/core/src/main/java/org/columba/core/desktop/MacDesktop.java
|
|
File path: /columba-1.4-src/core/src/main/java/org/columba/core/command/ProgressObservedInputStream.java
|
Method name: void browse(URL)
|
|
Method name: void ProgressObservedInputStream(InputStream, IWorkerStatusController, boolean)
|
Number of AST nodes: 2
|
|
Number of AST nodes: 3
|
|
1 | try {↵ | | 1 | try {↵
|
2 | FileManager.openURL(url.toString());↵ | | 2 | theStatusController.setProgressBarMaximum(arg0.available());↵
|
3 | } catch (Exception e) {↵ | | 3 | } catch (IOException e) {↵
|
4 | e.printStackTrace();↵ | | 4 | ↵
|
5 | } | | 5 | // nothing to do↵
|
| | | 6 | }↵
|
|
| | | 7 | read = 0;
|
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 |