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 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/config/Argument.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 Meta Data attribute of the Argument.
6
	 *
6
	 * 
7
	 * @param newMimeType
7
	 * @param newM
8
	 *	
8
etaData
9
the new mimetype
9
	 *            the new metadata
10
	 */
10
	 */
11
	public void setMimeType(String newMimeType) {
11
	public void setMetaData(String newMetaData) {
12
		setProperty(new StringProperty(MIMETYPE, newMimeType));
12
		setProperty(new StringProperty(METADATA, newMetaData));
13
	}
13
	}
14
	/**
14
	/**
15
	 * Get the mimetype of the File.
15
	 * Gets the Meta Data attribute of the Argument.
16
	 *
16
	 * 
17
	 * @return the http parameter mimetype
17
	 * @return the MetaData value
18
	 */
18
	 */
19
	public String getMimeType() {
19
	public String getMetaData() {
20
		return getPropertyAsString(MIMETYPE);
20
		return getPropertyAsString(METADATA);
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