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)); }
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/config/gui/LDAPArgument.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/config/Argument.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void setName(String newName) {
1
void setName(String newName) {
2
		setProperty(new StringProperty(ARG_NAME, newName));
2
		setProperty(new StringProperty(ARG_NAME, newName));
3
	}
3
	}
4
	/**
4
	/**
5
	 * Get the name of the Argument.
5
	 * Get the name of the Argument.
6
	 * 
6
	 * 
7
	 * @return the attribute's name
7
	 * @return the attribute's name
8
	 */
8
	 */
9
	public String getName() {
9
	public String getName() {
10
		return getPropertyAsString(ARG_NAME);
10
		return getPropertyAsString(ARG_NAME);
11
	}
11
	}
12
	/**
12
	/**
13
	 * Sets the value of the Argument.
13
	 * Sets the value of the Argument.
14
	 * 
14
	 * 
15
	 * @param newValue
15
	 * @param newValue
16
	 *            the new value
16
	 *            the new value
17
	 */
17
	 */
18
	public void setValue(String newValue) {
18
	public void setValue(String newValue) {
19
		setProperty(new StringProperty(VALUE, newValue));
19
		setProperty(new StringProperty(VALUE, newValue));
20
	}
20
	}
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