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 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); }
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/ldap/sampler/LDAPExtSampler.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getCountlim() {
1
String getTimelim() {
2
		return getPropertyAsString(COUNTLIM);
2
		return getPropertyAsString(TIMELIM);
3
	}
3
	}
4
	public long getCountlimAsLong() {
4
	public int getTimelimAsInt() {
5
		return getPropertyAsLong(COUNTLIM);
5
		return getPropertyAsInt(TIMELIM);
6
	}
6
	}
7
	/***************************************************************************
7
	/***************************************************************************
8
	 * Sets the size limit attribute of the LDAPSampler object
8
	 * Sets the time limit attribute of the LDAPSampler object
9
	 * 
9
	 * 
10
	 * @param newClim
10
	 * @param newTlim
11
	 *            The new size limit value
11
	 *            The new time limit value
12
	 **************************************************************************/
12
	 **************************************************************************/
13
	public void setCountlim(String newClim) {
13
	public void setTimelim(String newTlim) {
14
		this.setProperty(COUNTLIM, newClim);
14
		this.setProperty(TIMELIM, newTlim);
15
	}
15
	}
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