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); }
void setXAxis(String field) { setProperty(REPORT_CHART_X_AXIS,field); } public String getYAxis() { return getPropertyAsString(REPORT_CHART_Y_AXIS); } public void setYAxis(String scale) { setProperty(REPORT_CHART_Y_AXIS,scale); }
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/testelement/AbstractChart.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void setValue(String value) {
1
void setXAxis(String 
2
		this.setProperty(VALUE, value);
3
	}
4
	/**
5
	 * get the domain for this object.
6
	 */
7
	public synchronized
2
field) {
3
    	setProperty(REPORT_CHART_X_AXIS,field);
4
    }
5
    
8
 String getDomain() {
6
    public String getYAxis() {
9
		return getPropertyAsString(DOMAIN);
7
    	return getPropertyAsString(
10
	}
11
	/**
12
	 * set the domain for this object.
13
	 */
14
	public synchronized
8
REPORT_CHART_Y_AXIS);
9
    }
10
    
15
 void setDomain(String domain) {
11
    public void setYAxis(String scale) {
16
		setProperty(DOMAIN, domain);
12
    	setProperty(
17
	
13
REPORT_CHART_Y_AXIS,scale);
18
}
14
    }
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