String getSuccessCode(){
return getPropertyAsString(SUCCESSCODE);
}
/**
* set the succes code. the success code should
* be unique.
* @param code
*/
public void setSuccessCode(String code){
setProperty(SUCCESSCODE,code);
}
/**
* get the failure message
*/
public String getFailure(){
return getPropertyAsString(FAILURE);
String getValue() {
return getPropertyAsString(VALUE);
}
/**
* set the value for this object.
*/
public synchronized void setValue(String value) {
this.setProperty(VALUE, value);
}
/**
* get the domain for this object.
*/
public synchronized String getDomain() {
return getPropertyAsString(DOMAIN);
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/junit/org/apache/jmeter/protocol/java/sampler/JUnitSampler.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 | String getSuccessCode(){↵ | | 1 | String getValue() {↵
|
2 | return getPropertyAsString(SUCCESSCODE);↵ | | 2 | return getPropertyAsString(VALUE);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * set the succes code. the success code should↵ | | 5 | * set the ↵
|
6 | * be unique.↵ | | |
|
7 | * @param code↵ | | |
|
8 | ↵ | | 6 | value for this object.↵
|
9 | */↵ | | 7 | */↵
|
10 | public void setSuccessCode(String code){↵ | | 8 | public synchronized void setValue(String value) {↵
|
11 | setProperty(SUCCESSCODE,code);↵ | | 9 | this.setProperty(↵
|
12 | }↵ | | |
|
13 | ↵ | | |
|
14 | ↵ | | 10 | VALUE, value);↵
|
| | | 11 | }↵
|
|
15 | /**↵ | | 12 | /**↵
|
16 | * get the failure message↵ | | 13 | * get the ↵
|
17 | ↵ | | 14 | domain for this object.↵
|
18 | */↵ | | 15 | */↵
|
19 | public String getFailure(){↵ | | 16 | public synchronized String getDomain() {↵
|
20 | return getPropertyAsString(FAILURE);↵ | | 17 | return getPropertyAsString(↵
|
21 | | | 18 | DOMAIN);↵
|
| | | 19 |
|
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 |