String getName() { return getPropertyAsString(HNAME); } /** * Set the name for this object. */ public synchronized void setName(String name) { this.setProperty(HNAME, name); } /** * Get the value for this object. */ public synchronized String getValue() { return getPropertyAsString(VALUE); }
String getURLData() { return getPropertyAsString(URL_DATA); } public void setURLData(String url) { setProperty(URL_DATA, url); } public String getSOAPAction() { return getPropertyAsString(SOAP_ACTION); }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/control/Header.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/sampler/SoapSampler.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getName() {
1
String getURLData() {
2
		return getPropertyAsString(HNAME);
2
		return getPropertyAsString(URL_DATA);
3
	}
3
	}
4
	/**
4
	
5
	 * Set the name for this object.
6
	 */
7
	public synchronized void setName(String name) {
5
public void setURLData(String url) {
8
		this.setProperty(HNAME, name);
6
		setProperty(
9
	}
10
	/**
11
	 * Get the value for this object.
12
	 */
13
	public synchronized String getValue
7
URL_DATA, url);
8
	}
14
() {
9
	public String getSOAPAction() {
15
		return getPropertyAsString(VALUE);
10
		return getPropertyAsString(SOAP_ACTION);
16
	}
11
	}
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