void setParamName(String newParamName) { setProperty(new StringProperty(PARAMNAME, newParamName)); } /** * Get the http parameter name of the File. * * @return the http parameter name */ public String getParamName() { return getPropertyAsString(PARAMNAME); } /** * Set the mimetype of the File. * * @param newMimeType * the new mimetype */ public void setMimeType(String newMimeType) { setProperty(new StringProperty(MIMETYPE, newMimeType));
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));
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/util/HTTPFileArg.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 setParamName(String newParamName) {
1
void setValue(String newValue) {
2
		setProperty(new StringProperty(PARAMNAME, newParamName));
2
		setProperty(new StringProperty(VALUE, newValue));
3
	}
3
	}
4
	/**
4
	/**
5
	 * Get the http parameter name of the File.
5
	 * Gets the value of the Argument object.
6
	 *
6
	 * 
7
	 * @return the http parameter name
7
	 * @return the attribute's value
8
	 */
8
	 */
9
	public String getParamName() {
9
	public String getValue() {
10
		return getPropertyAsString(PARAMNAME);
10
		return getPropertyAsString(VALUE);
11
	}
11
	}
12
	/**
12
	/**
13
	 * Set the mimetype of the File.
13
	 * Sets the opcode of the Argument.
14
	 *
14
	 * 
15
	 * @param newMimeType
15
	 * @param new
16
	 *	
16
Opcode
17
the new mimetype
17
	 *            the new value
18
	 */
18
	 */
19
	public void setMimeType(String newMimeType) {
19
	public void setOpcode(String newOpcode) {
20
		setProperty(new StringProperty(MIMETYPE, newMimeType));
20
		setProperty(new StringProperty(OPCODE, newOpcode));
21
	
21
	
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