while (this.RUN && this.count(0) < this.loop) { try { Thread.sleep(0, 50); } catch (Exception e) { log.info(e.getMessage()); } }
if (toType.equals(Class.class)) { try { return Class.forName(value.toString()); } catch (Exception e) { // don't do anything } }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/jms/sampler/SubscriberSampler.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jorphan/util/Converter.java
Method name: SampleResult sampleWithListener() Method name: Object convert(Object, Class)
Number of AST nodes: 3 Number of AST nodes: 3
1
while (this.RUN && this.count(0) < this.loop) {
2
			try {
3
				Thread.sleep(0, 50
1
if (toType.equals(Class.class)) {
2
			try {
4
);
3
				return Class.forName(value.toString());
5
			} catch (Exception e) {
4
			} catch (Exception e) {
6
				log.info(e.getMessage());
5
				// don't do anything
7
			}
6
			}
8
		}
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.1
Clones locationClones are in different classes
Number of node comparisons1