String getAttrs() { return getPropertyAsString(ATTRIBS); } /*************************************************************************** * Sets the Base Entry DN attribute of the LDAPSampler object * * @param newbaseentry * The new Base entry DN value **************************************************************************/ public void setBaseEntryDN(String newbaseentry) { setProperty(new StringProperty(BASE_ENTRY_DN, newbaseentry)); } /*************************************************************************** * Gets the BaseEntryDN attribute of the LDAPSampler object * * @return The Base entry DN value **************************************************************************/ public String getBaseEntryDN() { return getPropertyAsString(BASE_ENTRY_DN);
String getName() { return getPropertyAsString(ARG_NAME); } /** * Sets the value of the Argument. * * @param newValue * the new value */ public void setValue(String newValue) { setProperty(new StringProperty(VALUE, newValue)); } /** * Gets the value of the Argument object. * * @return the attribute's value */ public String getValue() { return getPropertyAsString(VALUE);
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/config/gui/LDAPArgument.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getAttrs() {
1
String getName() {
2
		return getPropertyAsString(ATTRIBS);
2
		return getPropertyAsString(ARG_NAME);
3
	}
3
	}
4
	/***************************************************************************
4
	/**
5
	 * Sets the Base Entry DN attribute of the LDAPSampler object
5
	 * Sets the value of the Argument.
6
	 * 
6
	 * 
7
	 * @param newbaseentry
7
	 * @param newValue
8
	 *            The new Base entry DN value
8
	 *            the new 
9
	 *************************************************************************
9
value
10
*/
10
	 */
11
	public void setBaseEntryDN(String newbaseentry) {
11
	public void setValue(String newValue) {
12
		setProperty(new StringProperty(BASE_ENTRY_DN, newbaseentry));
12
		setProperty(new StringProperty(
13
	}
14
	/***************************************************************************
15
	 * Gets the BaseEntryDN attribute of the LDAPSampler
13
VALUE, newValue));
14
	}
15
	/**
16
 object
16
	 * Gets the value of the Argument object.
17
	 * 
17
	 * 
18
	 * @return The Base entry DN value
18
	 * @return the 
19
	 *************************************************************************
19
attribute's value
20
*/
20
	 */
21
	public String getBaseEntryDN() {
21
	public String getValue() {
22
		return getPropertyAsString(BASE_ENTRY_DN);
22
		return getPropertyAsString(VALUE);
23
	
23
	
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