void setConnTimeOut(String connto) { setProperty(new StringProperty(CONNTO, connto)); } public String getConnTimeOut() { return getPropertyAsString(CONNTO); } public void setSecure(String sec) { setProperty(new StringProperty(SECURE, sec));
void setName(String newName) { setProperty(new StringProperty(ARG_NAME, newName)); } /** * Get the name of the Argument. * * @return the attribute's name */ public String getName() { return getPropertyAsString(ARG_NAME); } /** * Sets the value of the Argument. * * @param newValue * the new value */ public void setValue(String newValue) { setProperty(new StringProperty(VALUE, newValue));
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/ldap/config/gui/LDAPArgument.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void setConnTimeOut(String connto) {
1
void set
2
        setProperty(new StringProperty(CONNTO, connto));
3
    }
4
    public String getConnTimeOut() {
5
        return getPropertyAsString(CONNTO);
6
    }
7
    
8
    
2
Name(String newName) {
3
		setProperty(new StringProperty(ARG_NAME, newName));
4
	}
5
	/**
6
	 * Get the name of the Argument.
7
	 * 
8
	 * @return the attribute's name
9
	 */
10
	public String getName() {
11
		return getPropertyAsString(ARG_NAME);
12
	}
13
	/**
14
	 * Sets the value of the Argument.
15
	 * 
16
	 * @param newValue
17
	 *            the new value
18
	 */
9
public void setSecure(String sec) {
19
	public void setValue(String 
10
        
20
newValue) {
11
setProperty(new StringProperty(SECURE, sec));
21
		setProperty(new StringProperty(VALUE, newValue));
12
    
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