void setAttrs(String newAttrs) { this.setProperty(ATTRIBS, newAttrs); } /*************************************************************************** * Gets the attributes of the LDAPSampler object * * @return The attributes **************************************************************************/ public String getAttrs() { return getPropertyAsString(ATTRIBS); } /*************************************************************************** * Sets the Base Entry DN attribute of the LDAPSampler object * * @param newbaseentry * The new Base entry DN value **************************************************************************/ public void setBaseEntryDN(String newbaseentry) { setProperty(new StringProperty(BASE_ENTRY_DN, newbaseentry));
void setName(String name) { setProperty(TestElement.NAME, name); } public String getName() { return getPropertyAsString(TestElement.NAME); } public void setComment(String comment){ setProperty(new StringProperty(TestElement.COMMENTS, comment));
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/testelement/AbstractTestElement.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void setAttrs(String newAttrs) {
1
void setName(String name) {
2
		this.setProperty(ATTRIBS, newAttrs);
2
		setProperty(
3
	}
4
	/***************************************************************************
5
	 * Gets the attributes of the LDAPSampler object
6
	 * 
7
	 * @return The attributes
8
	 **************************************************************************/
3
TestElement.NAME, name);
4
	}
9
	public String getAttrs() {
5
	public String getName() {
10
		return getPropertyAsString(ATTRIBS);
6
		return getPropertyAsString(
11
	}
12
	/***************************************************************************
13
	 * Sets the Base Entry DN attribute of the LDAPSampler object
14
	 * 
15
	 * @param newbaseentry
16
	 *            The new Base entry DN value
17
	 **************************************************************************/
7
TestElement.NAME);
8
	}
18
	public void setBaseEntryDN(String newbaseentry) {
9
	public void setComment(String comment){
19
		setProperty(new StringProperty(BASE_ENTRY_DN, newbaseentry));
10
		setProperty(new StringProperty(TestElement.COMMENTS, comment));
20
	
11
	
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