String getSuccessCode(){ return getPropertyAsString(SUCCESSCODE); } /** * set the succes code. the success code should * be unique. * @param code */ public void setSuccessCode(String code){ setProperty(SUCCESSCODE,code); } /** * get the failure message */ public String getFailure(){ return getPropertyAsString(FAILURE);
String getDomain() { return getPropertyAsString(DOMAIN); } public synchronized void setDomain(String domain) { setProperty(DOMAIN, domain); } public synchronized String getRealm() { return getPropertyAsString(REALM);
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/junit/org/apache/jmeter/protocol/java/sampler/JUnitSampler.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/control/Authorization.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getSuccessCode(){
1
String getDomain() {
2
        return getPropertyAsString(SUCCESSCODE);
2
		return getPropertyAsString(
3
    }
4
    /**
5
     * set the succes code. the success code should
6
     * be unique.
7
     * @param code
8
     */
9
    public void setSuccessCode(String code){
10
        setProperty(SUCCESSCODE,code);
11
    }
12
    
13
    /**
14
     * get the failure message
15
     */
16
    public
3
DOMAIN);
4
	}
5
	public synchronized void setDomain(String domain) {
6
		setProperty(DOMAIN, domain);
7
	}
17
 String getFailure(){
8
	public synchronized String getRealm() {
18
        return getPropertyAsString(FAILURE);
9
		return getPropertyAsString(
19
    
10
REALM);
11
	
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