String getValue() { return getPropertyAsString(VALUE); } /** * set the value for this object. */ public synchronized void setValue(String value) { this.setProperty(VALUE, value); } /** * get the domain for this object. */ public synchronized String getDomain() { return getPropertyAsString(DOMAIN); } /** * set the domain for this object. */ 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/Cookie.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 getValue() {
1
String getErrorCode(){
2
		return getPropertyAsString(VALUE);
2
        return getPropertyAsString(
3
	}
4
	/**
5
	 * set the value for this object.
6
	
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
7
 */
10
     */
8
	public synchronized void setValue(String value) {
11
    public void setErrorCode(String code){
9
		this.setProperty(VALUE, value);
12
        setProperty(
10
	}
11
	
13
ERRORCODE,code);
14
    }
15
    
12
/**
16
    /**
13
	 * get the domain for this object.
17
     * return the comma separated string for th
14
	
18
e filter
15
 */
19
     */
16
	public synchronized String getDomain() {
20
    public String getFilterString(){
17
		return getPropertyAsString(DOMAIN);
21
        return getPropertyAsString(
18
	}
19
	
22
FILTER);
23
    }
24
    
20
/**
25
    /**
21
	 * set the domain for this object.
26
     * set the 
22
	
27
filter string in comman separated format
28
     * @param text
23
 */
29
     */
24
	public synchronized void setDomain(String domain) {
30
    public void setFilterString(String 
25
		setProperty(DOMAIN, domain);
26
	
31
text){
32
        setProperty(FILTER,text);
33
    
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