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 setDomain(String domain) { setProperty(DOMAIN, domain); } public synchronized String getRealm() { return getPropertyAsString(REALM); } public synchronized void setRealm(String realm) { setProperty(REALM, realm);
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/Authorization.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void setParameters(String newScript) {
1
void setDomain(String domain) {
2
		this.setProperty(PARAMETERS, newScript);
2
		setProperty(DOMAIN, domain);
3
	}
3
	}
4
	public String getScriptLanguage() {
4
	public synchronized String getRealm() {
5
		return this.getPropertyAsString(LANGUAGE);
5
		return getPropertyAsString(REALM);
6
	}
6
	}
7
	public void setScriptLanguage(String lang) {
7
	public synchronized void setRealm(String realm) {
8
		this.setProperty(LANGUAGE, lang);
8
		setProperty(REALM, realm);
9
	
9
	
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