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)); } /** * Gets the Meta Data attribute of the Argument. * * @return the MetaData value */ public String getMetaData() { return getPropertyAsString(METADATA); }
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)); } /** * Gets the value of the Argument object. * * @return the attribute's value */ public String getValue() { return getPropertyAsString(VALUE); }
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/config/Argument.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void setValue(String newValue) {
1
void setName(String newName) {
2
		setProperty(new StringProperty(VALUE, newValue));
2
		setProperty(new StringProperty(ARG_NAME, newName));
3
	}
3
	}
4
	/**
4
	/**
5
	 * Gets the value of the Argument object.
5
	 * Get the name of the Argument.
6
	 * 
6
	 * 
7
	 * @return the attribute's value
7
	 * @return the attribute's name
8
	 */
8
	 */
9
	public String getValue() {
9
	public String getName() {
10
		return getPropertyAsString(VALUE);
10
		return getPropertyAsString(ARG_NAME);
11
	}
11
	}
12
	/**
12
	/**
13
	 * Sets the Meta Data attribute of the Argument.
13
	 * Sets the value of the Argument.
14
	 * 
14
	 * 
15
	 * @param newMetaData
15
	 * @param newValue
16
	 *            the new metadata
16
	 *            the new value
17
	 */
17
	 */
18
	public void setMetaData(String newMetaData) {
18
	public void setValue(String newValue) {
19
		setProperty(new StringProperty(METADATA, newMetaData));
19
		setProperty(new StringProperty(VALUE, newValue));
20
	}
20
	}
21
	/**
21
	/**
22
	 * Gets the Meta Data attribute of the Argument.
22
	 * Gets the value of the Argument object.
23
	 * 
23
	 * 
24
	 * @return the MetaData value
24
	 * @return the attribute's value
25
	 */
25
	 */
26
	public String getMetaData() {
26
	public String getValue() {
27
		return getPropertyAsString(METADATA);
27
		return getPropertyAsString(VALUE);
28
	}
28
	}
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