boolean getAutoRedirects() { return getPropertyAsBoolean(AUTO_REDIRECTS); } public void setMethod(String value) { setProperty(METHOD, value); } public String getMethod() { return getPropertyAsString(METHOD); }
boolean isMonitor() { return this.getPropertyAsBoolean(MONITOR); } public void setImplementation(String value) { this.setProperty(IMPLEMENTATION, value); } public String getImplementation() { return this.getPropertyAsString(IMPLEMENTATION); }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
boolean getAutoRedirects() {
1
boolean 
2
        
2
isMonitor() {
3
return getPropertyAsBoolean(AUTO_REDIRECTS);
3
		return this.getPropertyAsBoolean(
4
    
4
MONITOR);
5
}
5
	}
6
	public void setMethod(String value) {
6
    public void setImplementation(String value) {
7
		setProperty(METHOD, value);
7
        this.setProperty(IMPLEMENTATION, value);
8
	}
8
    }
9
	public String getMethod() {
9
    public String get
10
		
10
Implementation() {
11
return getPropertyAsString(METHOD);
11
        return this.getPropertyAsString(
12
	
12
IMPLEMENTATION);
13
}
13
    }
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