String getUserDN() { return getPropertyAsString(USERDN); } /*************************************************************************** * Sets the username attribute of the LDAP object * **************************************************************************/ public 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);
Arguments getJMSProperties() { return getArguments(JMSSampler.JMS_PROPERTIES); } public void setJMSProperties(Arguments args) { setProperty(new TestElementProperty(JMSSampler.JMS_PROPERTIES, args)); } public Arguments getJNDIProperties() { return getArguments(JMSSampler.JNDI_PROPERTIES);
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/jms/sampler/JMSSampler.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getUserDN() {
2
		return getPropertyAsString(USERDN);
3
	}
4
	/***************************************************************************
5
	 * Sets the username attribute of the LDAP object
6
	 * 
7
	 **************************************************************************/
8
	public void setUserDN(String newUserDN
1
Arguments getJMSProperties() {
2
		return getArguments(JMSSampler.JMS_PROPERTIES);
3
	}
9
) {
4
	public void setJMSProperties(Arguments args) {
10
		setProperty(new StringProperty(USERDN, newUserDN));
5
		setProperty(new 
11
	}
12
	/***************************************************************************
13
	 * Gets the password attribute of the LDAP object
14
	 * 
15
	 * @return The password
16
	 **************************************************************************/
17
	public String getUserPw() {
18
		return getPropertyAsString(USERPW
6
TestElementProperty(JMSSampler.JMS_PROPERTIES, args));
7
	}
8
	public Arguments getJNDIProperties() {
19
);
9
		return getArguments(JMSSampler.JNDI_PROPERTIES);
20
	
10
	
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