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)); } /** * Gets the value of the Argument object. * * @return the attribute's value */ public String getValue() { return getPropertyAsString(VALUE); }
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)); } /** * Gets the Meta Data attribute of the Argument. * * @return the MetaData value */ public String getMetaData() { return getPropertyAsString(METADATA); }
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
String getName() {
1
String getValue() {
2
		return getPropertyAsString(ARG_NAME);
2
		return getPropertyAsString(VALUE);
3
	}
3
	}
4
	/**
4
	/**
5
	 * Sets the value of the Argument.
5
	 * Sets the Meta Data attribute of the Argument.
6
	 * 
6
	 * 
7
	 * @param newValue
7
	 * @param newMetaData
8
	 *            the new value
8
	 *            the new metadata
9
	 */
9
	 */
10
	public void setValue(String newValue) {
10
	public void setMetaData(String newMetaData) {
11
		setProperty(new StringProperty(VALUE, newValue));
11
		setProperty(new StringProperty(METADATA, newMetaData));
12
	}
12
	}
13
	/**
13
	/**
14
	 * Gets the value of the Argument object.
14
	 * Gets the Meta Data attribute of the Argument.
15
	 * 
15
	 * 
16
	 * @return the attribute's value
16
	 * @return the MetaData value
17
	 */
17
	 */
18
	public String getValue() {
18
	public String getMetaData() {
19
		return getPropertyAsString(VALUE);
19
		return getPropertyAsString(METADATA);
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