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);
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/Header.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 setName(String name) {
1
void setXAxis(String 
2
		this.setProperty(HNAME, name);
3
	}
4
	/**
5
	 * Get the value for this object.
6
	 */
7
	public synchronized
2
field) {
3
    	setProperty(REPORT_CHART_X_AXIS,field);
4
    }
5
    
8
 String getValue() {
6
    public String getYAxis() {
9
		return getPropertyAsString(VALUE);
7
    	return getPropertyAsString(
10
	}
11
	/**
12
	 * Set the value for this object.
13
	 */
14
	public synchronized
8
REPORT_CHART_Y_AXIS);
9
    }
10
    
15
 void setValue(String value) {
11
    public void setYAxis(String scale) {
16
		this.setProperty(VALUE, value);
12
    	setProperty(REPORT_CHART_Y_AXIS,scale);
17
	
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