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)); } /** * Get the mimetype of the File. * * @return the http parameter mimetype */ public String getMimeType() { return getPropertyAsString(MIMETYPE); }
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)); } /** * Gets the opcode of the Argument object. * * @return the attribute's value */ public String getOpcode() { return getPropertyAsString(OPCODE); }
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
String getParamName() {
1
String getValue() {
2
		return getPropertyAsString(PARAMNAME);
2
		return getPropertyAsString(VALUE);
3
	}
3
	}
4
	/**
4
	/**
5
	 * Set the mimetype of the File.
5
	 * Sets the opcode of the Argument.
6
	 *
6
	 * 
7
	 * @param newMimeType
7
	 * @param new
8
	 *	
8
Opcode
9
the new mimetype
9
	 *            the new value
10
	 */
10
	 */
11
	public void setMimeType(String newMimeType) {
11
	public void setOpcode(String newOpcode) {
12
		setProperty(new StringProperty(MIMETYPE, newMimeType));
12
		setProperty(new StringProperty(OPCODE, newOpcode));
13
	}
13
	}
14
	/**
14
	/**
15
	 * Get the mimetype of the File.
15
	 * Gets the opcode of the Argument object.
16
	 *
16
	 * 
17
	 * @return the http parameter mimetype
17
	 * @return the attribute's value
18
	 */
18
	 */
19
	public String getMimeType() {
19
	public String getOpcode() {
20
		return getPropertyAsString(MIMETYPE);
20
		return getPropertyAsString(OPCODE);
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