void setRetobj(String newRobj) { this.setProperty(RETOBJ, newRobj); } /*************************************************************************** * Gets the deref attribute of the LDAPSampler object * * @return if dereferencing is required **************************************************************************/ public boolean isDeref() { return getPropertyAsBoolean(DEREF); } /*************************************************************************** * Sets the deref attribute of the LDAPSampler object * * @param newDref * The new deref value **************************************************************************/ public void setDeref(String newDref) { this.setProperty(DEREF, newDref); }
void setTimelim(String newTlim) { this.setProperty(TIMELIM, newTlim); } /*************************************************************************** * Gets the return objects attribute of the LDAPSampler object * * @return if the object(s) are to be returned **************************************************************************/ public boolean isRetobj() { return getPropertyAsBoolean(RETOBJ); } /*************************************************************************** * Sets the return objects attribute of the LDAPSampler object * **************************************************************************/ public void setRetobj(String newRobj) { this.setProperty(RETOBJ, newRobj); }
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
void setRetobj(String newRobj) {
1
void setTimelim(String newTlim) {
2
		this.setProperty(RETOBJ, newRobj);
2
		this.setProperty(TIMELIM, newTlim);
3
	}
3
	}
4
	/***************************************************************************
4
	/***************************************************************************
5
	 * Gets the deref attribute of the LDAPSampler object
5
	 * Gets the return objects attribute of the LDAPSampler object
6
	 * 
6
	 * 
7
	 * @return if dereferencing is required
7
	 * @return if the object(s) are to be returned
8
	 **************************************************************************/
8
	 **************************************************************************/
9
	public boolean isDeref() {
9
	public boolean isRetobj() {
10
		return getPropertyAsBoolean(DEREF);
10
		return getPropertyAsBoolean(RETOBJ);
11
	}
11
	}
12
	/***************************************************************************
12
	/***************************************************************************
13
	 * Sets the deref attribute of the LDAPSampler object
13
	 * Sets the return objects attribute of the LDAPSampler object
14
	 * 
14
	 * 
15
	 * @param newDref
15
	
16
	 *            The new deref value
17
	 **************************************************************************/
16
 **************************************************************************/
18
	public void setDeref(String newDref) {
17
	public void setRetobj(String newRobj) {
19
		this.setProperty(DEREF, newDref);
18
		this.setProperty(RETOBJ, newRobj);
20
	}
19
	}
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