void setXPathQuery(String val){ setProperty(XPATH_QUERY,val); } public String getXPathQuery(){ return getPropertyAsString(XPATH_QUERY); } public void setRefName(String refName) { setProperty(REFNAME, refName);
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);
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 setXPathQuery(String val){
1
void set
2
        setProperty(XPATH_QUERY,val);   
3
    }
4
    
5
    
2
RandomPath(String path) {
3
		setProperty(RANDOM_PATH, path);
4
	}
5
	/**
6
	 * return the random path for messages
7
	 * 
8
	 */
6
public String getXPathQuery(){
9
	public String getRandomPath() {
7
        return getPropertyAsString(XPATH_QUERY);
10
		return getPropertyAsString(
8
    }
9
  
11
RANDOM_PATH);
12
	}
13
	/**
14
	 * set the text for the message
15
	 * 
16
	 * @param message
17
	 */
10
	public void setRefName(String refName) {
18
	public void setTextMessage(String message) {
11
		setProperty(REFNAME, refName);
19
		setProperty(TEXT_MSG, message);
12
	
20
	
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