String getValue() { return getPropertyAsString(VALUE); } /** * set the value for this object. */ public synchronized void setValue(String value) { this.setProperty(VALUE, value); } /** * get the domain for this object. */ public synchronized String getDomain() { return getPropertyAsString(DOMAIN); } /** * set the domain for this object. */ public synchronized void setDomain(String domain) { setProperty(DOMAIN, domain); }
String getQueueConnectionFactory() { return getPropertyAsString(QUEUE_CONNECTION_FACTORY_JNDI); } public void setQueueConnectionFactory(String qcf) { setProperty(QUEUE_CONNECTION_FACTORY_JNDI, qcf); } public String getSendQueue() { return getPropertyAsString(SEND_QUEUE); } public void setSendQueue(String name) { setProperty(SEND_QUEUE, name); }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/control/Cookie.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getValue() {
1
String getQueueConnectionFactory() {
2
		return getPropertyAsString(VALUE);
2
		return getPropertyAsString(
3
	}
4
	/**
5
	 * set the value for this object.
6
	 */
7
	public synchronized void setValue
3
QUEUE_CONNECTION_FACTORY_JNDI);
4
	}
8
(String value) {
5
	public void setQueueConnectionFactory(String qcf) {
9
		this.setProperty(VALUE, value);
6
		setProperty(
10
	}
11
	/**
12
	 * get the domain for this object.
13
	 */
14
	public synchronized
7
QUEUE_CONNECTION_FACTORY_JNDI, qcf);
8
	}
15
 String getDomain() {
9
	public String getSendQueue() {
16
		return getPropertyAsString(DOMAIN);
10
		return getPropertyAsString(SEND_QUEUE);
17
	}
11
	}
18
	/**
12
	
19
	 * set the domain for this object.
20
	 */
21
	public synchronized void setDomain(String domain) {
13
public void setSendQueue(String name) {
22
		setProperty(DOMAIN, domain);
14
		setProperty(SEND_QUEUE, name);
23
	}
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