String getPass() { return getPropertyAsString(PASSWORD); } public synchronized void setPass(String pass) { setProperty(PASSWORD, pass); } public synchronized String getDomain() { return getPropertyAsString(DOMAIN); } public synchronized void setDomain(String domain) { setProperty(DOMAIN, domain);
String getErrorCode(){ return getPropertyAsString(ERRORCODE); } /** * provide an unique error code for when the test * does not pass the assert test. * @param code */ public void setErrorCode(String code){ setProperty(ERRORCODE,code); } /** * return the comma separated string for the filter */ public String getFilterString(){ return getPropertyAsString(FILTER); } /** * set the filter string in comman separated format * @param text */ public void setFilterString(String text){ setProperty(FILTER,text);
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/control/Authorization.java File path: /jakarta-jmeter-2.3.2/src/junit/org/apache/jmeter/protocol/java/sampler/JUnitSampler.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getPass() {
1
String getErrorCode(){
2
		return getPropertyAsString(PASSWORD);
2
        return getPropertyAsString(
3
	}
4
	public synchronized void setPass(String pass) {
5
		setProperty(PASSWORD, pass);
6
	}
7
	public synchronized
3
ERRORCODE);
4
    }
5
    
6
    /**
7
     * provide an unique error code for when the test
8
     * does not pass the assert test.
9
     * @param code
10
     */
11
    public void setErrorCode(String code){
12
        setProperty(ERRORCODE,code);
13
    }
14
    
15
    /**
16
     * return the comma separated string for the filter
17
     */
8
 String getDomain() {
18
    public String getFilterString(){
9
		return getPropertyAsString(DOMAIN);
19
        return getPropertyAsString(
10
	}
11
	public synchronized void setDoma
20
FILTER);
21
    }
22
    
23
    /**
24
     * set the filter string in comman separated format
25
     * @param text
26
     */
12
in(String domain) {
27
    public void setFilterString(String 
13
		setProperty(DOMAIN, domain);
14
	
28
text){
29
        setProperty(FILTER,text);
30
    
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