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); } /** * Set the path of the File. * * @param newPath * the new path */ public void setPath(String newPath) { setProperty(new StringProperty(FILEPATH, newPath));
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));
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/http/util/HTTPFileArg.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void setMimeType(String newMimeType) {
1
void setParamName(String newParamName) {
2
		setProperty(new StringProperty(MIMETYPE, newMimeType));
2
		setProperty(new StringProperty(PARAMNAME, newParamName));
3
	}
3
	}
4
	/**
4
	/**
5
	 * Get the mimetype of the File.
5
	 * Get the http parameter name of the File.
6
	 *
6
	 *
7
	 * @return the http parameter mimetype
7
	 * @return the http parameter name
8
	 */
8
	 */
9
	public String getMimeType() {
9
	public String getParamName() {
10
		return getPropertyAsString(MIMETYPE);
10
		return getPropertyAsString(PARAMNAME);
11
	}
11
	}
12
	/**
12
	/**
13
	 * Set the path of the File.
13
	 * Set the mimetype of the File.
14
	 *
14
	 *
15
	 * @param newPath
15
	 * @param newMimeType
16
	 *	the new path
16
	 *	the new mimetype
17
	 */
17
	 */
18
	public void setPath(String newPath) {
18
	public void setMimeType(String newMimeType) {
19
		setProperty(new StringProperty(FILEPATH, newPath));
19
		setProperty(new StringProperty(MIMETYPE, newMimeType));
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