String getFilename() {
return getPropertyAsString(FILENAME);
}
public void setFilename(String newFilename) {
this.setProperty(FILENAME, newFilename);
}
public String getScript() {
return this.getPropertyAsString(SCRIPT);
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/org/apache/jmeter/protocol/java/sampler/BSFSampler.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 getFilename() {↵ | | 1 | String getValue() {↵
|
2 | return getPropertyAsString(FILENAME);↵ | | 2 | return getPropertyAsString(VALUE);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | public↵ | | 4 | /**↵
|
| | | 5 | * set the value for this object.↵
|
| | | 6 | */↵
|
5 | void setFilename(String newFilename) {↵ | | 7 | public synchronized void setValue(String value) {↵
|
6 | this.setProperty(FILENAME, newFilename);↵ | | 8 | this.setProperty(↵
|
7 | }↵ | | |
|
|
8 | public↵ | | 9 | VALUE, value);↵
|
| | | 10 | }↵
|
|
| | | 11 | /**↵
|
| | | 12 | * get the domain for this object.↵
|
| | | 13 | */↵
|
9 | String getScript() {↵ | | 14 | public synchronized String getDomain() {↵
|
10 | return this.getPropertyAsString(SCRIPT);↵ | | 15 | return getPropertyAsString(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 |