void setReceiveQueue(String name) { setProperty(RECEIVE_QUEUE, name); } public String getContent() { return getPropertyAsString(XML_DATA); } public void setContent(String content) { setProperty(XML_DATA, content); }
void setName(String name) { this.setProperty(HNAME, name); } /** * Get the value for this object. */ public synchronized String getValue() { return getPropertyAsString(VALUE); } /** * Set the value for this object. */ public synchronized void setValue(String value) { this.setProperty(VALUE, value); }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/control/Header.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void setReceiveQueue(String name) {
1
void setName(String name) {
2
		setProperty(RECEIVE_QUEUE, name);
2
		this.setProperty(HNAME, name);
3
	}
3
	}
4
	public
4
	/**
5
	 * Get the value for this object.
6
	 */
5
 String getContent() {
7
	public synchronized String getValue() {
6
		return getPropertyAsString(XML_DATA);
8
		return getPropertyAsString(VALUE);
7
	}
9
	}
8
	public
10
	/**
11
	 * Set the value for this object.
12
	 */
9
 void setContent(String content) {
13
	public synchronized void setValue(String value) {
10
		setProperty(XML_DATA, content);
14
		this.setProperty(VALUE, value);
11
	}
15
	}
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 location
Number of node comparisons0