String getPass() { return getPropertyAsString(PASSWORD); } public synchronized void setPass(String pass) { setProperty(PASSWORD, pass); } public synchronized String getDomain() { return getPropertyAsString(DOMAIN); } public synchronized void setDomain(String domain) { setProperty(DOMAIN, domain); }
String getName() { return getPropertyAsString(HNAME); } /** * Set the name for this object. */ public synchronized void setName(String name) { this.setProperty(HNAME, name); } /** * Get the value for this object. */ public synchronized String getValue() { return getPropertyAsString(VALUE); } /** * Set the value for this object. */ public synchronized void setValue(String value) { this.setProperty(VALUE, value); }
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/Header.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getPass() {
1
String getName() {
2
		return getPropertyAsString(PASSWORD);
2
		return getPropertyAsString(
3
	}
3
HNAME);
4
	}
5
	/**
6
	 * Set the name for this object.
7
	 */
4
	public synchronized void setPass(String pass) {
8
	public synchronized void setName(String name) {
5
		setProperty(PASSWORD, pass);
9
		this.setProperty(
6
	}
10
HNAME, name);
11
	}
12
	/**
13
	 * Get the value for this object.
14
	 */
7
	public synchronized String getDomain() {
15
	public synchronized String getValue() {
8
		return getPropertyAsString(DOMAIN);
16
		return getPropertyAsString(VALUE);
9
	}
17
	}
18
	/**
19
	 * Set the value for this object.
20
	 */
10
	public synchronized void setDomain(String domain) {
21
	public synchronized void setValue(String value) {
11
		setProperty(DOMAIN, domain);
22
		this.setProperty(VALUE, value);
12
	}
23
	}
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