void setReceiveQueue(String name) { setProperty(RECEIVE_QUEUE, name); } public String getContent() { return getPropertyAsString(XML_DATA); } public void setContent(String content) { setProperty(XML_DATA, content);
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);
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/jms/sampler/JMSSampler.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 setReceiveQueue(String name) {
1
void setTitle(String title) {
2
		setProperty(RECEIVE_QUEUE, name);
2
    	setProperty(RE
3
	}
4
	public String getContent() {
5
		return getPropertyAsString(XML_DATA);
6
	}
7
	
3
PORT_CHART_TITLE,title);
4
    }
5
    /**
6
     * The caption is a description for the chart explaining
7
     * what the chart means.
8
     * @return caption
9
     */
10
    public String getCaption() {
11
        return getPropertyAsString(REPORT_CHART_CAPTION);
12
    }
13
    
14
    /**
15
     * The caption is a description for the chart explaining
16
     * what the chart means.
17
     * @param caption
18
     */
8
public void setContent(String content) {
19
    public void setCaption(String c
9
		setProperty(XML_DATA, content);
10
	
20
aption) {
21
        setProperty(REPORT_CHART_CAPTION,caption);
22
    
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