String getValue() { return getPropertyAsString(VALUE); } /** * set the value for this object. */ public synchronized 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); }
String getUser() { return getPropertyAsString(USERNAME); } public synchronized void setUser(String user) { setProperty(USERNAME, user); } public synchronized String getPass() { return getPropertyAsString(PASSWORD); } public synchronized void setPass(String pass) { setProperty(PASSWORD, pass); }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/control/Cookie.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
String getValue() {
1
String getUser() {
2
		return getPropertyAsString(VALUE);
2
		return getPropertyAsString(USERNAME);
3
	}
3
	}
4
	/**
5
	 * set the value for this object.
6
	 */
7
	public synchronized void setValue(String value) {
4
	public synchronized void setUser(String user) {
8
		this.setProperty(VALUE, value);
5
		setProperty(
9
	}
10
	/**
11
	 * get the domain for this object.
12
	 */
6
USERNAME, user);
7
	}
13
	public synchronized String getDomain() {
8
	public synchronized String getPass() {
14
		return getPropertyAsString(DOMAIN);
9
		return getPropertyAsString(PASSWORD);
15
	}
10
	}
16
	/**
17
	 * set the domain for this object.
18
	 */
19
	public synchronized void setDomain(String domain) {
11
	public synchronized void setPass(String pass) {
20
		setProperty(DOMAIN, domain);
12
		setProperty(PASSWORD, pass);
21
	}
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