void setValue(String newValue) { setProperty(new StringProperty(VALUE, newValue)); } /** * Gets the value of the Argument object. * * @return the attribute's value */ public String getValue() { return getPropertyAsString(VALUE); } /** * Sets the Meta Data attribute of the Argument. * * @param newMetaData * the new metadata */ public void setMetaData(String newMetaData) { setProperty(new StringProperty(METADATA, newMetaData));
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));
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/config/Argument.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
void setValue(String newValue) {
1
void set
2
		setProperty(new StringProperty(VALUE, newValue));
3
	}
4
	/**
5
	 * Gets the value of the Argument object.
6
	 * 
7
	 * @return the attribute's value
8
	 */
9
	public String getValue() {
10
		return getPropertyAsString(VALUE);
11
	}
12
	/**
13
	 * Sets the Meta Data attribute of the Argument.
14
	 * 
15
	 * @param newMetaData
16
	 *            the new metadata
17
	 */
18
	
2
ConnTimeOut(String connto) {
3
        setProperty(new StringProperty(CONNTO, connto));
4
    }
5
    public String getConnTimeOut() {
6
        return getPropertyAsString(CONNTO);
7
    }
8
    
19
public void setMetaData(String newMetaData) {
9
    public void set
20
		
10
Secure(String sec) {
21
setProperty(new StringProperty(METADATA, newMetaData));
11
        setProperty(new StringProperty(SECURE, sec));
22
	
12
    
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