void setFilename(String newFilename) { this.setProperty(FILENAME, newFilename); } public String getFilename() { return getPropertyAsString(FILENAME); } public void setRequestData(String newRequestData) { this.setProperty(REQUEST, newRequestData); }
void setRequestData(String newRequestData) { this.setProperty(REQUEST, newRequestData); } public String getRequestData() { return getPropertyAsString(REQUEST); } public void setTimeout(String newTimeout) { this.setProperty(FILENAME, newTimeout); }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/tcp/sampler/TCPSampler.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/tcp/sampler/TCPSampler.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void setFilename(String newFilename) {
1
void setRequestData(String newRequestData) {
2
		this.setProperty(FILENAME, newFilename);
2
		this.setProperty(REQUEST, newRequestData);
3
	}
3
	}
4
	public String getFilename() {
4
	public String getRequestData() {
5
		return getPropertyAsString(FILENAME);
5
		return getPropertyAsString(REQUEST);
6
	}
6
	}
7
	public void setRequestData(String newRequestData) {
7
	public void setTimeout(String newTimeout) {
8
		this.setProperty(REQUEST, newRequestData);
8
		this.setProperty(FILENAME, newTimeout);
9
	}
9
	}
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