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 setDomain(String domain) { setProperty(DOMAIN, domain); } public synchronized String getRealm() { return getPropertyAsString(REALM); } public synchronized void setRealm(String realm) { setProperty(REALM, realm);
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/Authorization.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void setTitle(String title) {
1
void setDomain(String domain) {
2
    	setProperty(REPORT_CHART_TITLE,title);
2
		setProperty(
3
    }
4
    /**
5
     * The caption is a description for the chart explaining
6
     * what the chart means.
7
     * @return caption
8
     */
9
    public String getCaption() {
10
        return getPropertyAsString(REPORT_CHART_CAPTION);
11
    }
12
    
13
    /**
14
     * The caption is a description for the chart explaining
15
     * what the chart means.
16
     * @param caption
17
     */
18
    public
3
DOMAIN, domain);
4
	}
5
	public synchronized String getRealm() {
6
		return getPropertyAsString(REALM);
7
	}
19
 void setCaption(String caption) {
8
	public synchronized void setRealm(String 
20
        setProperty(REPORT_CHART_CAPTION,caption);
21
    
9
realm) {
10
		setProperty(REALM, realm);
11
	
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