void setName(String name) { this.setProperty(HNAME, name); } /** * Get the value for this object. */ public synchronized String getValue() { return getPropertyAsString(VALUE); } /** * Set the value for this object. */ public synchronized void setValue(String value) { this.setProperty(VALUE, value);
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/Header.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
void setName(String name) {
1
void setErrorCode(String code){
2
		this.setProperty(HNAME, name);
2
        setProperty(
3
	}
4
	
3
ERRORCODE,code);
4
    }
5
    
5
/**
6
    /**
6
	 * Get the value for this object.
7
     * return the 
7
	
8
comma separated string for the filter
8
 */
9
     */
9
	public synchronized String getValue() {
10
    public String getFilterString(){
10
		return getPropertyAsString(VALUE);
11
        return getPropertyAsString(
11
	}
12
	
12
FILTER);
13
    }
14
    
13
/**
15
    /**
14
	 * Set the value for this object.
16
     * set the 
15
	
17
filter string in comman separated format
18
     * @param text
16
 */
19
     */
17
	public synchronized void setValue(String value) {
20
    public 
18
		this.setProperty(VALUE, value);
19
	
21
void setFilterString(String text){
22
        setProperty(FILTER,text);
23
    
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