String getQueueConnectionFactory() { return getPropertyAsString(QUEUE_CONNECTION_FACTORY_JNDI); } public void setQueueConnectionFactory(String qcf) { setProperty(QUEUE_CONNECTION_FACTORY_JNDI, qcf); } public String getSendQueue() { return getPropertyAsString(SEND_QUEUE);
String getXLabel() { return getPropertyAsString(REPORT_CHART_X_LABEL); } /** * The X data labels should be either the filename, date or some * other series of values * @param label */ public void setXLabel(String label) { setProperty(REPORT_CHART_X_LABEL,label); } public String getYLabel() { return getPropertyAsString(REPORT_CHART_Y_LABEL);
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
String getQueueConnectionFactory() {
1
String getXLabel() {
2
		return getPropertyAsString(QUEUE_CONNECTION_FACTORY_JNDI);
2
    	return getPropertyAsString(
3
	}
4
	public void setQueueConnectionFactory
3
REPORT_CHART_X_LABEL);
4
    }
5
    
6
    /**
7
     * The X data labels should be either the filename, date or some
8
     * other series of values
9
     * @param label
10
     */
5
(String qcf) {
11
    public void setXLabel(String label) {
6
		setProperty(QUEUE_CONNECTION_FACTORY_JNDI, qcf);
12
    	setProperty(
7
	}
8
	
13
REPORT_CHART_X_LABEL,label);
14
    }
15
    
9
public String getSendQueue() {
16
    public String getYLabel() {
10
		return getPropertyAsString(SEND_QUEUE);
17
    	return getPropertyAsString(
11
	
18
REPORT_CHART_Y_LABEL);
19
    
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