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 setValue(String value) { this.setProperty(VALUE, value); } /** * get the domain for this object. */ public synchronized String getDomain() { return getPropertyAsString(DOMAIN); } /** * set the domain for this object. */ public synchronized void setDomain(String domain) { setProperty(DOMAIN, domain);
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/Cookie.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void setParameters(String newScript) {
1
void set
2
		this.setProperty(PARAMETERS, newScript);
3
	}
4
	public String getScriptLanguage
2
Value(String value) {
3
		this.setProperty(VALUE, value);
4
	}
5
	/**
6
	 * get the domain for this object.
7
	 */
5
() {
8
	public synchronized String getDomain() {
6
		return this.getPropertyAsString(LANGUAGE);
9
		return getPropertyAsString(DOMAIN);
7
	}
10
	}
8
	public void setScriptLanguage
11
	/**
12
	 * set the domain for this object.
13
	 */
9
(String lang) {
14
	public synchronized void setDomain(String domain) {
10
		this.setProperty(LANGUAGE, lang);
15
		setProperty(DOMAIN, domain);
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