String getTimelim() { return getPropertyAsString(TIMELIM); } public int getTimelimAsInt() { return getPropertyAsInt(TIMELIM); } /*************************************************************************** * Sets the time limit attribute of the LDAPSampler object * * @param newTlim * The new time limit value **************************************************************************/ public void setTimelim(String newTlim) { this.setProperty(TIMELIM, newTlim);
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 getTimelim() {
1
String getTimeout() {
2
		return getPropertyAsString(TIMELIM);
2
        return getPropertyAsString(TIMEOUT);
3
	}
3
    }
4
	public int getTimelimAsInt() {
4
    public int getTimeoutAsInt() {
5
		return getPropertyAsInt(TIMELIM);
5
        return getPropertyAsInt(TIMEOUT);
6
	}
7
	/***************************************************************************
8
	 * Sets the time limit attribute of the LDAPSampler object
9
	 * 
10
	 * @param newTlim
11
	 *            The new time limit value
12
	 **************************************************************************/
13
	
6
    }
14
public void setTimelim(String newTlim) {
7
    public void setTimeout(String 
15
		this.
8
text) {
16
setProperty(TIMELIM, newTlim);
9
        setProperty(TIME
17
	
10
OUT, text);
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