void setClassname(String classname) { setProperty(CLASSNAME, classname); } /** * Gets the Classname attribute of the JavaConfig object * * @return the Classname value */ public String getClassname() { return getPropertyAsString(CLASSNAME); } /** * Set the string label used to create an instance of the * test with the string constructor. * @param constr */ public void setConstructorString(String constr) { setProperty(CONSTRUCTORSTRING,constr);
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); } /** * Sets the Test attribute of the LdapConfig object. * * @param newTest * the new test value(Add,Modify,Delete and search) */ public void setTest(String newTest) { this.setProperty(TEST, newTest);
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/junit/org/apache/jmeter/protocol/java/sampler/JUnitSampler.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
void setClassname(String classname)
1
void set
2
    {
3
        setProperty(CLASSNAME, classname);
4
    
2
Rootdn(String newRootdn) {
3
		this.setProperty(ROOTDN, newRootdn);
5
}
4
	}
6
    /**
5
	/**
7
     * Gets the Classname attribute of the JavaConfig object
6
	 * Gets the Rootdn attribute of the LDAPSampler object.
8
     *
7
	 * 
9
     * @return  the Classname value
8
	 * @return the Rootdn value
10
     */
9
	 */
11
    public String getClassname()
10
	public String get
12
    {
13
        return getPropertyAsString(CLASSNAME);
14
    }
15
    
16
    
11
Rootdn() {
12
		return getPropertyAsString(ROOTDN);
13
	}
17
/**
14
	/**
18
     * Set the string label used to create an instance of the
15
	 * Sets the 
19
     * test with the string constructor.
20
     * @param constr
21
    
16
Test attribute of the LdapConfig object.
17
	 * 
18
	 * @param newTest
19
	 *            the new test value(Add,Modify,Delete and search)
22
 */
20
	 */
23
    public void setConstructorString(String constr)
21
	public void setTest(String 
24
    {
25
        setProperty(CONSTRUCTORSTRING,con
22
newTest) {
26
str);
23
		this.setProperty(TEST, newTest);
27
    
24
	
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