String getUseAuth() { return getPropertyAsString(USE_AUTH); } /** * set whether the sampler should read the response or not * * @param read whether the sampler should read the response or not */ public void setReadResponse(String read) { setProperty(READ_RESPONSE, read); } /** * return whether the sampler should read the response * * @return whether the sampler should read the response */ public String getReadResponse() { return getPropertyAsString(READ_RESPONSE); }
String getXmlData() { return getPropertyAsString(XML_DATA); } /** * it's kinda obvious, but we state it anyways. Set the xml file with a * string path. * * @param filename */ public void setXmlFile(String filename) { setProperty(XML_DATA_FILE, filename); } /** * Get the file location of the xml file. * * @return String file path. */ public String getXmlFile() { return getPropertyAsString(XML_DATA_FILE); }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/jms/sampler/BaseJMSSampler.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/sampler/SoapSampler.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getUseAuth() {
1
String getXmlData() {
2
		return getPropertyAsString(USE_AUTH);
2
		return getPropertyAsString(XML_DATA);
3
	}
3
	}
4
	/**
4
    /**
5
	 * set whether the sampler should read the response or not
6
	
5
     * it's kinda obvious, but we state it anyways. Set the xml file with a
6
     * string path.
7
 * 
7
     *
8
	 * @param read whether the sampler should read the response or not
8
     * @param 
9
	
9
filename
10
 */
10
     */
11
	public void setReadResponse(String read) {
11
    public void set
12
		setProperty(READ_RESPONSE, read);
13
	
12
XmlFile(String filename) {
13
        setProperty(XML_DATA_FILE, filename);
14
}
14
    }
15
	/**
15
    /**
16
	 * return whether the sampler should read the response
16
     * Get the 
17
	
17
file location of the xml file.
18
 * 
18
     *
19
	 * @return whether the sampler should read the response
19
     * @return 
20
	
20
String file path.
21
 */
21
     */
22
	public String getReadResponse() {
22
    public String get
23
		
23
XmlFile() {
24
return getPropertyAsString(READ_RESPONSE);
24
        return getPropertyAsString(XML_DATA_FILE);
25
	}
25
    }
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