void setParameters(String newScript) { this.setProperty(PARAMETERS, newScript); } public String getScriptLanguage() { return this.getPropertyAsString(LANGUAGE); } public void setScriptLanguage(String lang) { this.setProperty(LANGUAGE, lang); }
void setName(String name) { this.setProperty(HNAME, name); } /** * Get the value for this object. */ public synchronized String getValue() { return getPropertyAsString(VALUE); } /** * Set the value for this object. */ public synchronized void setValue(String value) { this.setProperty(VALUE, value); }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/java/sampler/BSFSampler.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/control/Header.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void setParameters(String newScript) {
1
void setName(String name) {
2
		this.setProperty(PARAMETERS, newScript);
2
		this.setProperty(
3
	}
4
	public String getScriptLanguag
3
HNAME, name);
4
	}
5
	/**
6
	 * Get the value for this object.
7
	 */
5
e() {
8
	public synchronized String getValue() {
6
		return this.getPropertyAsString(LANGUAGE);
9
		return getPropertyAsString(VALUE);
7
	}
10
	}
8
	public void setScriptLanguag
11
	/**
12
	 * Set the value for this object.
13
	 */
9
e(String lang) {
14
	public synchronized void setValue(String value) {
10
		this.setProperty(LANGUAGE, lang);
15
		this.setProperty(VALUE, value);
11
	}
16
	}
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