String getContent() { return getPropertyAsString(XML_DATA); } public void setContent(String content) { setProperty(XML_DATA, content); } public boolean isOneway() { return getPropertyAsBoolean(IS_ONE_WAY);
String getFilterString(){ return getPropertyAsString(FILTER); } /** * set the filter string in comman separated format * @param text */ public void setFilterString(String text){ setProperty(FILTER,text); } /** * if the sample shouldn't call setup/teardown, the * method returns true. It's meant for onetimesetup * and onetimeteardown. */ public boolean getDoNotSetUpTearDown(){ return getPropertyAsBoolean(DOSETUP);
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/junit/org/apache/jmeter/protocol/java/sampler/JUnitSampler.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getContent() {
1
String getFilterString(){
2
		return getPropertyAsString(XML_DATA);
2
        return getPropertyAsString(
3
	}
4
	
3
FILTER);
4
    }
5
    
6
    /**
7
     * set the filter string in comman separated format
8
     * @param text
9
     */
5
public void setContent(String content) {
10
    public void setFilterString(String text){
6
		setProperty(XML_DATA, content);
11
        setProperty(
7
	}
8
	public boolean isOneway
12
FILTER,text);
13
    }
14
    
15
    /**
16
     * if the sample shouldn't call setup/teardown, the
17
     * method returns true. It's meant for onetimesetup
18
     * and onetimeteardown.
19
     */
9
() {
20
    public boolean getDoNotSetUpTearDown(){
10
		return getPropertyAsBoolean(IS_ONE_WAY);
21
        return getPropertyAsBoolean(
11
	
22
DOSETUP);
23
    
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