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 setValue(String value) {
this.setProperty(VALUE, value);
}
/**
* get the domain for this object.
*/
public synchronized String getDomain() {
return getPropertyAsString(DOMAIN);
}
/**
* set the domain for this object.
*/
public synchronized void setDomain(String domain) {
setProperty(DOMAIN, domain);
}
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/http/control/Cookie.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | void setReceiveQueue(String name) {↵ | | 1 | void setValue(String value) {↵
|
2 | setProperty(RECEIVE_QUEUE, name);↵ | | 2 | this.setProperty(↵
|
3 | }↵ | | |
|
|
4 | public↵ | | 3 | VALUE, value);↵
|
| | | 4 | }↵
|
|
| | | 5 | /**↵
|
| | | 6 | * get the domain for this object.↵
|
| | | 7 | */↵
|
5 | String getContent() {↵ | | 8 | public synchronized String getDomain() {↵
|
6 | return getPropertyAsString(XML_DATA);↵ | | 9 | return getPropertyAsString(DOMAIN);↵
|
7 | }↵ | | 10 | }↵
|
|
8 | public↵ | | 11 | /**↵
|
| | | 12 | * set the domain for this object.↵
|
| | | 13 | */↵
|
9 | void setContent(String content) {↵ | | 14 | public synchronized void setDomain(String domain) {↵
|
10 | setProperty(XML_DATA, content);↵ | | 15 | setProperty(DOMAIN, domain);↵
|
11 | } | | 16 | }
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | |
Number of node comparisons | 0 |