String getXmlData() { return getPropertyAsString(XML_DATA); } /** * it's kinda obvious, but we state it anyways. Set the xml file with a * string path. * * @param filename */ public void setXmlFile(String filename) { setProperty(XML_DATA_FILE, filename); } /** * Get the file location of the xml file. * * @return String file path. */ public String getXmlFile() { return getPropertyAsString(XML_DATA_FILE); }
String getConfigChoice() { return getPropertyAsString(CONFIG_CHOICE); } /** * set the source of the message * * @param choice */ public void setMessageChoice(String choice) { setProperty(MESSAGE_CHOICE, choice); } /** * return the source of the message * */ public String getMessageChoice() { return getPropertyAsString(MESSAGE_CHOICE); }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/sampler/SoapSampler.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/jms/sampler/PublisherSampler.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getXmlData() {
1
String getConfigChoice() {
2
		return getPropertyAsString(XML_DATA);
2
		return getPropertyAsString(CONFIG_CHOICE);
3
	}
3
	}
4
    /**
4
	/**
5
     * it's kinda obvious, but we state it anyways. Set the xml file with a
6
     * string path.
7
     *
8
     * @param filename
9
    
5
	 * set the source of the message
6
	 * 
7
	 * @param choice
10
 */
8
	 */
11
    public void setXmlFile(String filename) {
9
	public void set
12
        setProperty(XML_DATA_FILE, filenam
10
MessageChoice(String choice) {
13
e);
11
		setProperty(MESSAGE_CHOICE, choice);
14
    }
12
	}
15
    /**
13
	/**
16
     * Get the file location of the xml file.
14
	 * return the 
17
     *
18
     * @return String file path.
19
    
15
source of the message
16
	 * 
20
 */
17
	 */
21
    public String getXmlFile() {
18
	public String get
22
        
19
MessageChoice() {
23
return getPropertyAsString(XML_DATA_FILE);
20
		return getPropertyAsString(MESSAGE_CHOICE);
24
    }
21
	}
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