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); }
String getMessageChoice() { return getPropertyAsString(MESSAGE_CHOICE); } /** * set the input file for the publisher * * @param file */ public void setInputFile(String file) { setProperty(INPUT_FILE, file); } /** * return the path of the input file * */ public String getInputFile() { return getPropertyAsString(INPUT_FILE); }
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/PublisherSampler.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getPort() {
1
String getMessageChoice() {
2
		return getPropertyAsString(PORT);
2
		return getPropertyAsString(
3
	}
4
	/*************************************************************************
3
MESSAGE_CHOICE);
4
	}
5
**
5
	/**
6
	 * Sets the Rootdn attribute of the LDAPSampler object
6
	 * set the 
7
	 * 
8
	 * @param newRootdn 
9
	 *            The new rootdn value
10
	 *************************************************************************
7
input file for the publisher
8
	 * 
9
	 * @param file
11
*/
10
	 */
12
	public void setRootdn(String newRootdn) {
11
	public void setInputFile(String file) {
13
		this.setProperty(ROOTDN, newRootdn);
12
		setProperty(
14
	}
15
	/*************************************************************************
13
INPUT_FILE, file);
14
	}
16
**
15
	/**
17
	 * Gets the Rootdn attribute of the LDAPSampler object
16
	 * return the 
18
	 * 
19
	 * @return The Rootdn value
20
	 *************************************************************************
17
path of the input file
18
	 * 
21
*/
19
	 */
22
	public String getRootdn() {
20
	public String getInputFile() {
23
		return getPropertyAsString(ROOTDN);
21
		return getPropertyAsString(INPUT_FILE);
24
	}
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