void setTimelim(String newTlim) { this.setProperty(TIMELIM, newTlim); } /*************************************************************************** * Gets the return objects attribute of the LDAPSampler object * * @return if the object(s) are to be returned **************************************************************************/ public boolean isRetobj() { return getPropertyAsBoolean(RETOBJ); } /*************************************************************************** * Sets the return objects attribute of the LDAPSampler object * **************************************************************************/ public void setRetobj(String newRobj) { this.setProperty(RETOBJ, newRobj); }
void setTitle(String title) { setProperty(REPORT_PAGE_TITLE,title); } public boolean getIndex() { return getPropertyAsBoolean(REPORT_PAGE_INDEX); } public void setIndex(String makeIndex) { setProperty(REPORT_PAGE_INDEX,makeIndex); }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/ldap/sampler/LDAPExtSampler.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/testelement/ReportPage.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void setTimelim(String newTlim) {
1
void setTitle(String 
2
		this.setProperty(TIMELIM, newTlim);
3
	}
4
	/***************************************************************************
5
	 * Gets the return objects attribute of the LDAPSampler object
6
	 * 
7
	 * @return if the object(s) are to be returned
8
	 **************************************************************************/
9
	public boolean isRetobj() {
10
		return getPropertyAsBoolean(RETOBJ);
11
	}
12
	/***************************************************************************
13
	 * Sets the return objects attribute of the LDAPSampler object
14
	 * 
15
	 **************************************************************************/
16
	
2
title) {
3
        setProperty(REPORT_PAGE_TITLE,title);
4
    }
5
    
6
    public boolean getIndex() {
7
        return getPropertyAsBoolean(REPORT_PAGE_INDEX);
8
    }
9
    
17
public void setRetobj(String newRobj) {
10
    public void setIndex(String 
18
		this.setProperty(RETOBJ, newRobj);
19
	
11
makeIndex) {
12
        setProperty(REPORT_PAGE_INDEX,makeIndex);
20
}
13
    }
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