String getName() { return getPropertyAsString(HNAME); } /** * Set the name for this object. */ public synchronized void setName(String name) { this.setProperty(HNAME, name); } /** * Get the value for this object. */ public synchronized String getValue() { return getPropertyAsString(VALUE);
String getHeaderURL() { return getPropertyAsString(REPORT_PAGE_HEADER); } public void setHeaderURL(String url) { setProperty(REPORT_PAGE_HEADER,url); } public String getFooterURL() { return getPropertyAsString(REPORT_PAGE_FOOTER);
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/control/Header.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
String getName() {
1
String get
2
		
2
HeaderURL() {
3
return getPropertyAsString(HNAME);
3
        return getPropertyAsString(
4
	}
5
	/**
6
	 * Set the name for this object.
7
	 */
8
	public synchronized void setName
4
REPORT_PAGE_HEADER);
5
    }
6
    
9
(String name) {
7
    public void setHeaderURL(String url) {
10
		this.setProperty(HNAME, name);
8
        setProperty(
11
	}
12
	/**
13
	 * Get the value for this object.
14
	 */
15
	public synchronized String getValue() {
16
		
9
REPORT_PAGE_HEADER,url);
10
    }
11
    
12
    public String getFooterURL() {
17
return getPropertyAsString(VALUE);
13
        return getPropertyAsString(
18
	
14
REPORT_PAGE_FOOTER);
15
    
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