this.comp = comp;
try {
SwingUtilities.invokeLater(this);
} catch (Exception e) {
log.error("", e); // $NON-NLS-1$
}
try {
FileServer.getFileServer().closeFile(FILENAME);
} catch (IOException e) {
// do nothing
}
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/gui/util/FocusRequester.java
|
|
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/util/accesslog/SharedTCLogParser.java
|
Method name: void FocusRequester(Component)
|
|
Method name: void close()
|
Number of AST nodes: 3
|
|
Number of AST nodes: 2
|
|
1 | this.comp = comp;↵ | | 1 | t↵
|
2 | try {↵ | | |
|
3 | SwingUtilities.invokeLater(this↵ | | 2 | ry {↵
|
4 | );↵ | | 3 | FileServer.getFileServer().closeFile(FILENAME);↵
|
5 | } catch (Exception e) {↵ | | 4 | } catch (IOException e) {↵
|
6 | log.error("", e); // $NON-NLS-1$↵ | | 5 | // do nothing↵
|
7 | } | | 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.1 |
Clones location | Clones are in different classes |
Number of node comparisons | 1 |