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 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)); } /** * Gets the Meta Data attribute of the Argument. * * @return the MetaData value */ public String getMetaData() { return getPropertyAsString(METADATA);
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 getOpcode() {
2
		return getPropertyAsString(MIMETYPE);
2
		return getPropertyAsString(OPCODE);
3
	}
3
	}
4
	/**
4
	/**
5
	 * Set the path of the File.
5
	 * Sets the Meta Data attribute of the Argument.
6
	 *
6
	 * 
7
	 * @param newPath
7
	 * @param newMetaData
8
	 *	the new path
8
	 *            the new metadata
9
	 */
9
	 */
10
	public void setPath(String newPath) {
10
	public void setMetaData(String newMetaData) {
11
		setProperty(new StringProperty(FILEPATH, newPath));
11
		setProperty(new StringProperty(METADATA, newMetaData));
12
	}
12
	}
13
	/**
13
	/**
14
	 * Get the path of the File.
14
	 * Gets the Meta Data attribute of the Argument.
15
	 *
15
	 * 
16
	 * @return the file's path
16
	 * @return the MetaData value
17
	 */
17
	 */
18
	public String getPath() {
18
	public String getMetaData() {
19
		return getPropertyAsString(FILEPATH);
19
		return getPropertyAsString(METADATA);
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