String getXPathQuery(){ return getPropertyAsString(XPATH_QUERY); } public void setRefName(String refName) { setProperty(REFNAME, refName); } public String getRefName() { return getPropertyAsString(REFNAME); }
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/extractor/XPathExtractor.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
String getXPathQuery(){
1
String getPort() {
2
        return getPropertyAsString(XPATH_QUERY);
2
		return getPropertyAsString(
3
    }
4
  
3
PORT);
4
	}
5
	/***************************************************************************
6
	 * Sets the Rootdn attribute of the LDAPSampler object
7
	 * 
8
	 * @param newRootdn 
9
	 *            The new rootdn value
10
	 **************************************************************************/
5
	public void setRefName(String refName) {
11
	public void setRootdn(String newRootdn) {
6
		setProperty(REFNAME, refName);
12
		this.setProperty(R
7
	}
13
OOTDN, newRootdn);
14
	}
15
	/***************************************************************************
16
	 * Gets the Rootdn attribute of the LDAPSampler object
17
	 * 
18
	 * @return The Rootdn value
19
	 **************************************************************************/
8
	public String getRefName() {
20
	public String getRootdn() {
9
		return getPropertyAsString(REFNAME);
21
		return getPropertyAsString(ROOTDN);
10
	}
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