void setRefName(String refName) { setProperty(REFNAME, refName); } public String getRefName() { return getPropertyAsString(REFNAME); } public void setDefaultValue(String val) { setProperty(DEFAULT, val); } public String getDefaultValue() { return getPropertyAsString(DEFAULT); }
void setRandomPath(String path) { setProperty(RANDOM_PATH, path); } /** * return the random path for messages * */ public String getRandomPath() { return getPropertyAsString(RANDOM_PATH); } /** * set the text for the message * * @param message */ public void setTextMessage(String message) { setProperty(TEXT_MSG, message); } /** * return the text for the message * */ public String getTextMessage() { return getPropertyAsString(TEXT_MSG); }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/extractor/XPathExtractor.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 setRefName(String refName) {
1
void setRandomPath(String path) {
2
		setProperty(REFNAME, refName);
2
		setProperty(R
3
	}
3
ANDOM_PATH, path);
4
	}
5
	/**
6
	 * return the random path for messages
7
	 * 
8
	 */
4
	public String getRefName() {
9
	public String getRandomPath() {
5
		return getPropertyAsString(REFNAME);
10
		return getPropertyAsString(R
6
	}
7
    
8
    
11
ANDOM_PATH);
12
	}
13
	/**
14
	 * set the text for the message
15
	 * 
16
	 * @param message
17
	 */
9
public void setDefaultValue(String val) {
18
	public void setTextMessage(String message) {
10
		setProperty(DEFAULT, val);
19
		setProperty(
11
	}
20
TEXT_MSG, message);
21
	}
22
	/**
23
	 * return the text for the message
24
	 * 
25
	 */
12
	public String getDefaultValue() {
26
	public String getTextMessage() {
13
		return getPropertyAsString(DEFAULT);
27
		return getPropertyAsString(TEXT_MSG);
14
	}
28
	}
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