void setTitle(String title) { setProperty(REPORT_CHART_TITLE,title); } /** * The caption is a description for the chart explaining * what the chart means. * @return caption */ public String getCaption() { return getPropertyAsString(REPORT_CHART_CAPTION); } /** * The caption is a description for the chart explaining * what the chart means. * @param caption */ public void setCaption(String caption) { setProperty(REPORT_CHART_CAPTION,caption);
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);
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/testelement/AbstractChart.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/control/Cookie.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void setTitle(String title) {
1
void setValue(String value) {
2
    	setProperty(REPORT_CHART_TITLE,title);
2
		this.setProperty(VALUE, value);
3
    }
3
	}
4
    /**
4
	/**
5
     * The caption is a description for the chart explaining
6
     * what the chart means.
7
     * @return caption
8
    
5
	 * get the domain for this object.
9
 */
6
	 */
10
    public String getCaption() {
7
	public synchronized String getDomain() {
11
        return getPropertyAsString(REPORT_CHART_CAPTION);
8
		return getPropertyAsString(
12
    }
13
    
14
    
9
DOMAIN);
10
	}
15
/**
11
	/**
16
     * The caption is a description for the chart explaining
17
     * what the chart means.
18
     * @param caption
19
    
12
	 * set the domain for this object.
20
 */
13
	 */
21
    public void setCaption(String caption) {
14
	public synchronized void setDomain(String 
22
        setProperty(REPORT_CHART_CAPTION,captio
15
domain) {
23
n);
16
		setProperty(DOMAIN, domain);
24
    
17
	
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