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