void setDomain(String domain) { setProperty(DOMAIN, domain); } public synchronized String getRealm() { return getPropertyAsString(REALM); } public synchronized void setRealm(String realm) { setProperty(REALM, realm);
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/http/control/Authorization.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 setDomain(String domain) {
1
void setValue(String value) {
2
		setProperty(DOMAIN, domain);
2
		this.setProperty(
3
	}
3
VALUE, value);
4
	}
5
	/**
6
	 * get the domain for this object.
7
	 */
4
	public synchronized String getRealm() {
8
	public synchronized String getDomain() {
5
		return getPropertyAsString(REALM);
9
		return getPropertyAsString(DOMAIN);
6
	}
10
	}
11
	/**
12
	 * set the domain for this object.
13
	 */
7
	public synchronized void setRealm(String realm) {
14
	public synchronized void setDomain(String domain) {
8
		setProperty(REALM, realm);
15
		setProperty(DOMAIN, domain);
9
	
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