if (os != null) {
os.close();
}
if (e.getActionCommand().equals(ActionNames.ABOUT)) {
this.about();
}
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jorphan/util/JOrphanUtils.java
|
|
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/gui/action/AboutCommand.java
|
Method name: void closeQuietly(OutputStream)
|
|
Method name: void doAction(ActionEvent)
|
Number of AST nodes: 2
|
|
Number of AST nodes: 2
|
|
1 | if (os != null) {↵ | | 1 | if (↵
|
2 | os.close();↵ | | |
|
3 | ↵ | | 2 | e.getActionCommand().equals(ActionNames.ABOUT)) {↵
|
| | | 3 | this.about();↵
|
4 | } | | 4 | }
|
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 |