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 opcode of the Argument. * * @param newOpcode * the new value */ public void setOpcode(String newOpcode) { setProperty(new StringProperty(OPCODE, newOpcode));
void setOpcode(String newOpcode) { setProperty(new StringProperty(OPCODE, newOpcode)); } /** * Gets the opcode of the Argument object. * * @return the attribute's value */ public String getOpcode() { return getPropertyAsString(OPCODE); } /** * Sets the Meta Data attribute of the Argument. * * @param newMetaData * the new metadata */ public void setMetaData(String newMetaData) { setProperty(new StringProperty(METADATA, newMetaData));
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/protocol/ldap/config/gui/LDAPArgument.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void setValue(String newValue) {
1
void setOpcode(String newOpcode) {
2
		setProperty(new StringProperty(VALUE, newValue));
2
		setProperty(new StringProperty(OPCODE, newOpcode));
3
	}
3
	}
4
	/**
4
	/**
5
	 * Gets the value of the Argument object.
5
	 * Gets the opcode of the Argument object.
6
	 * 
6
	 * 
7
	 * @return the attribute's value
7
	 * @return the attribute's value
8
	 */
8
	 */
9
	public String getValue() {
9
	public String getOpcode() {
10
		return getPropertyAsString(VALUE);
10
		return getPropertyAsString(OPCODE);
11
	}
11
	}
12
	/**
12
	/**
13
	 * Sets the opcode of the Argument.
13
	 * Sets the Meta Data attribute of the Argument.
14
	 * 
14
	 * 
15
	 * @param newOpcode
15
	 * @param newMetaData
16
	 *            the new value
16
	 *            the new metadata
17
	 */
17
	 */
18
	public void setOpcode(String newOpcode) {
18
	public void setMetaData(String newMetaData) {
19
		setProperty(new StringProperty(OPCODE, newOpcode));
19
		setProperty(new StringProperty(METADATA, newMetaData));
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