void setReceiveQueue(String name) { setProperty(RECEIVE_QUEUE, name); } public String getContent() { return getPropertyAsString(XML_DATA); } public void setContent(String content) { setProperty(XML_DATA, content);
void setParameters(String newScript) { this.setProperty(PARAMETERS, newScript); } public String getScriptLanguage() { return this.getPropertyAsString(LANGUAGE); } public void setScriptLanguage(String lang) { this.setProperty(LANGUAGE, lang);
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/org/apache/jmeter/protocol/java/sampler/BSFSampler.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void setReceiveQueue(String name) {
1
void setParameters(String newScript) {
2
		setProperty(RECEIVE_QUEUE, name);
2
		this.setProperty(PARAMETERS, newScript);
3
	}
3
	}
4
	public String getContent() {
4
	public String getScriptLanguage() {
5
		return getPropertyAsString(XML_DATA);
5
		return this.getPropertyAsString(LANGUAGE);
6
	}
6
	}
7
	public void setContent(String content) {
7
	public void setScriptLanguage(String lang) {
8
		setProperty(XML_DATA, content);
8
		this.setProperty(LANGUAGE, lang);
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