try { sync.wait(); } catch (InterruptedException e) { log.warn(e.getLocalizedMessage()); }
if (context != null) { try { context.close(); } catch (NamingException ignored) { // ignore } }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/timers/SyncTimer.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java
Method name: long delay() Method name: void threadStarted()
Number of AST nodes: 2 Number of AST nodes: 3
1
try {
2
					sync.wait
1
if (context != null) {
2
				try {
3
();
3
					context.close();
4
				} catch (InterruptedException e) {
4
				} catch (NamingException ignored) {
5
					log.warn(e.getLocalizedMessage());
5
					// ignore
6
				}
6
				}
7
			}
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are in different classes having the same super class
Number of node comparisons0