String getPassword() { return getPropertyAsString(ConfigTestElement.PASSWORD); } public void setServer(String newServer) { this.setProperty(SERVER, newServer); } public String getServer() { return getPropertyAsString(SERVER);
String getPort() { return getPropertyAsString(PORT); } /** * Sets the Rootdn attribute of the LDAPSampler object. * * @param newRootdn * the new rootdn value */ public void setRootdn(String newRootdn) { this.setProperty(ROOTDN, newRootdn); } /** * Gets the Rootdn attribute of the LDAPSampler object. * * @return the Rootdn value */ public String getRootdn() { return getPropertyAsString(ROOTDN);
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/ftp/sampler/FTPSampler.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/ldap/sampler/LDAPSampler.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getPassword() {
1
String getPort() {
2
		return getPropertyAsString(ConfigTestElement.PASSWORD);
2
		return getPropertyAsString(
3
	}
3
PORT);
4
	}
5
	/**
6
	 * Sets the Rootdn attribute of the LDAPSampler object.
7
	 * 
8
	 * @param newRootdn
9
	 *            the new rootdn value
10
	 */
4
	public void setServer(String newServer) {
11
	public void setRootdn(String newRootdn) {
5
		this.setProperty(SERVER, newServer);
12
		this.setProperty(
6
	}
13
ROOTDN, newRootdn);
14
	}
15
	/**
16
	 * Gets the Rootdn attribute of the LDAPSampler object.
17
	 * 
18
	 * @return the Rootdn value
19
	 */
7
	public String getServer() {
20
	public String getRootdn() {
8
		return getPropertyAsString(SERVER);
21
		return getPropertyAsString(ROOTDN);
9
	
22
	
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