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 setMethod(String value) { setProperty(METHOD, value); } public String getMethod() { return getPropertyAsString(METHOD); } public void setContentEncoding(String value) { setProperty(CONTENT_ENCODING, value); } public String getContentEncoding() { return getPropertyAsString(CONTENT_ENCODING);
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/HTTPSamplerBase.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void setConfigChoice(String choice) {
1
void setMethod(String value) {
2
		setProperty(CONFIG_CHOICE, choice);
2
		setProperty(
3
	}
4
	/**
5
	 * return the config choice
6
	 * 
7
	 */
3
METHOD, value);
4
	}
8
	public String getConfigChoice() {
5
	public String getMethod() {
9
		return getPropertyAsString(CONFIG_CHOICE);
6
		return getPropertyAsString(
10
	}
11
	/**
12
	 * set the source of the message
13
	 * 
14
	 * @param choice
15
	 */
16
	public void setMessageChoice
7
METHOD);
8
	}
17
(String choice) {
9
	public void setContentEncoding(String value) {
18
		setProperty(MESSAGE_CHOICE, choice);
10
		setProperty(
19
	}
20
	/**
21
	 * return the source of the message
22
	 * 
23
	 */
11
CONTENT_ENCODING, value);
12
	}
24
	public String getMessageChoice() {
13
	public String getContentEncoding() {
25
		return getPropertyAsString(MESSAGE_CHOICE);
14
		return getPropertyAsString(CONTENT_ENCODING);
26
	
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