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