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