this.comp = comp;
try {
SwingUtilities.invokeLater(this);
} catch (Exception e) {
log.error("", e); // $NON-NLS-1$
}
if (initialDelay > 0) {
try {
Thread.sleep(initialDelay);
} catch (InterruptedException e) {
}
}
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/threads/JMeterThread.java
|
Method name: void FocusRequester(Component)
|
|
Method name: void rampUpDelay()
|
Number of AST nodes: 3
|
|
Number of AST nodes: 3
|
|
1 | this.comp = comp;↵ | | 1 | if (initialDelay > 0) {↵
|
2 | try {↵ | | 2 | try {↵
|
3 | SwingUtilities.invokeLater(this);↵ | | 3 | Thread.sleep(initialDelay);↵
|
4 | } catch (Exception e) {↵ | | 4 | } catch (InterruptedException e) {↵
|
5 | log.error("", e); // $NON-NLS-1$↵ | | 5 | }↵
|
6 | } | | 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 |