void setXmlData(String data) { setProperty(XML_DATA, data); } /** * Get the XML data as a string. * * @return String data */ public String getXmlData() { return getPropertyAsString(XML_DATA); } /** * Set the soap action which should be in the form of an URN. * * @param data */ public void setSoapAction(String data) { setProperty(SOAP_ACTION, data); }
void setConfigChoice(String choice) { setProperty(CONFIG_CHOICE, choice); } /** * return the config choice * */ public String getConfigChoice() { return getPropertyAsString(CONFIG_CHOICE); } /** * set the source of the message * * @param choice */ public void setMessageChoice(String choice) { setProperty(MESSAGE_CHOICE, choice); }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/sampler/WebServiceSampler.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/jms/sampler/PublisherSampler.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void setXmlData(String data) {
1
void setConfigChoice(String choice) {
2
		setProperty(XML_DATA, data);
2
		setProperty(CONFIG_CHOICE, choice);
3
	}
3
	}
4
	/**
4
	/**
5
	 * Get the XML data as a string.
5
	 * return the 
6
	 * 
7
	 * @return String data
6
config choice
7
	 * 
8
	 */
8
	 */
9
	public String getXmlData() {
9
	public String getConfigChoice() {
10
		return getPropertyAsString(XML_DATA);
10
		return getPropertyAsString(CONFIG_CHOICE);
11
	}
11
	}
12
	/**
12
	/**
13
	 * Set the soap action which should be in the form of an URN.
13
	 * set the source of the message
14
	 * 
14
	 * 
15
	 * @param data
15
	 * @param choice
16
	 */
16
	 */
17
	public void setSoapAction(String data) {
17
	public void setMessageChoice(String choice) {
18
		setProperty(SOAP_ACTION, data);
18
		setProperty(MESSAGE_CHOICE, choice);
19
	}
19
	}
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