String getDomain() { return getPropertyAsString(DOMAIN); } public synchronized void setDomain(String domain) { setProperty(DOMAIN, domain); } public synchronized String getRealm() { return getPropertyAsString(REALM); } public synchronized void setRealm(String realm) { setProperty(REALM, realm);
String getParameters() { return this.getPropertyAsString(PARAMETERS); } public void setParameters(String newScript) { this.setProperty(PARAMETERS, newScript); } public String getScriptLanguage() { return this.getPropertyAsString(LANGUAGE); } public void setScriptLanguage(String lang) { this.setProperty(LANGUAGE, lang);
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/control/Authorization.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/java/sampler/BSFSampler.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getDomain() {
1
String getParameters() {
2
		return getPropertyAsString(DOMAIN);
2
		return this.getPropertyAsString(PARAMETERS);
3
	}
3
	}
4
	public synchronized void setDomain(String domain) {
4
	public void setParameters(String newScript) {
5
		setProperty(DOMAIN, domain);
5
		this.setProperty(
6
	}
7
	public synchronized String getRealm
6
PARAMETERS, newScript);
7
	}
8
() {
8
	public String getScriptLanguage() {
9
		return getPropertyAsString(REALM);
9
		return this.getPropertyAsString(LANGUAGE);
10
	}
10
	}
11
	public synchronized void setRealm(String realm) {
11
	public void setScriptLanguage(String lang) {
12
		setProperty(REALM, realm);
12
		this.setProperty(LANGUAGE, lang);
13
	
13
	
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