void setUserDN(String newUserDN) { setProperty(new StringProperty(USERDN, newUserDN)); } /*************************************************************************** * Gets the password attribute of the LDAP object * * @return The password **************************************************************************/ public String getUserPw() { return getPropertyAsString(USERPW); } /*************************************************************************** * Sets the password attribute of the LDAP object * **************************************************************************/ public void setUserPw(String newUserPw) { setProperty(new StringProperty(USERPW, newUserPw)); }
void setParseFlag(String parseFlag) { setProperty(new StringProperty(PARSEFLAG, parseFlag)); } /*************************************************************************** * Gets the username attribute of the LDAP object * * @return The username **************************************************************************/ public String getUserDN() { return getPropertyAsString(USERDN); } /*************************************************************************** * Sets the username attribute of the LDAP object * **************************************************************************/ public void setUserDN(String newUserDN) { setProperty(new StringProperty(USERDN, newUserDN)); }
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 setUserDN(String newUserDN) {
1
void set
2
		
2
ParseFlag(String parseFlag) {
3
setProperty(new StringProperty(USERDN, newUserDN));
3
        setProperty(new StringProperty(PARSEFLAG, parseFlag));
4
	}
4
    }
5
	/***************************************************************************
5
	/***************************************************************************
6
	 * Gets the password attribute of the LDAP object
6
	 * Gets the username attribute of the LDAP object
7
	 * 
7
	 * 
8
	 * @return The password
8
	 * @return The username
9
	 **************************************************************************/
9
	 **************************************************************************/
10
	public String getUserPw() {
10
	public String getUserDN() {
11
		return getPropertyAsString(USERPW);
11
		return getPropertyAsString(USERDN);
12
	}
12
	}
13
	/***************************************************************************
13
	/***************************************************************************
14
	 * Sets the password attribute of the LDAP object
14
	 * Sets the username attribute of the LDAP object
15
	 * 
15
	 * 
16
	 **************************************************************************/
16
	 **************************************************************************/
17
	public void setUserPw(String newUserPw) {
17
	public void setUserDN(String newUserDN) {
18
		setProperty(new StringProperty(USERPW, newUserPw));
18
		setProperty(new StringProperty(USERDN, newUserDN));
19
	}
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