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 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/Cookie.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 getValue() {
1
String getName() {
2
		return getPropertyAsString(VALUE);
2
		return getPropertyAsString(HNAME);
3
	}
3
	}
4
	/**
4
	/**
5
	 * set the value for this object.
5
	 * Set the name for this object.
6
	 */
6
	 */
7
	public synchronized void setValue(String value) {
7
	public synchronized void setName(String name) {
8
		this.setProperty(VALUE, value);
8
		this.setProperty(HNAME, name);
9
	}
9
	}
10
	/**
10
	/**
11
	 * get the domain for this object.
11
	 * Get the value for this object.
12
	 */
12
	 */
13
	public synchronized String getDomain() {
13
	public synchronized String getValue() {
14
		return getPropertyAsString(DOMAIN);
14
		return getPropertyAsString(VALUE);
15
	}
15
	}
16
	/**
16
	/**
17
	 * set the domain for this object.
17
	 * Set the value for this object.
18
	 */
18
	 */
19
	public synchronized void setDomain(String domain) {
19
	public synchronized void setValue(String value) {
20
		setProperty(DOMAIN, domain);
20
		this.setProperty(VALUE, value);
21
	
21
	
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