String getCountlim() { return getPropertyAsString(COUNTLIM); } public long getCountlimAsLong() { return getPropertyAsLong(COUNTLIM); } /*************************************************************************** * Sets the size limit attribute of the LDAPSampler object * * @param newClim * The new size limit value **************************************************************************/ public void setCountlim(String newClim) { this.setProperty(COUNTLIM, newClim); }
String getTimeout() { return getPropertyAsString(TIMEOUT); } public int getTimeoutAsInt() { return getPropertyAsInt(TIMEOUT); } public void setTimeout(String text) { setProperty(TIMEOUT, text); }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/ldap/sampler/LDAPExtSampler.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/sampler/WebServiceSampler.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getCountlim() {
1
String get
2
		
2
Timeout() {
3
return getPropertyAsString(COUNTLIM);
3
        return getPropertyAsString(
4
	
4
TIMEOUT);
5
}
5
    }
6
	public long getCountlimAsLong() {
6
    public 
7
		return getPropertyAsLong(COUNTLIM);
8
	}
9
	/***************************************************************************
10
	 * Sets the size limit attribute of the LDAPSampler object
11
	 * 
12
	 * @param newClim
13
	 *            The new size limit value
14
	 **************************************************************************/
15
	
7
int getTimeoutAsInt() {
8
        return getPropertyAsInt(TIMEOUT);
9
    }
16
public void setCountlim(String newClim) {
10
    public void set
17
		this.
11
Timeout(String text) {
18
setProperty(COUNTLIM, newClim);
12
        setProperty(
19
	
13
TIMEOUT, text);
20
}
14
    }
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