void setName(String name) {
this.setProperty(HNAME, name);
}
/**
* Get the value for this object.
*/
public synchronized String getValue() {
return getPropertyAsString(VALUE);
}
/**
* Set the value for this object.
*/
public synchronized void setValue(String value) {
this.setProperty(VALUE, value);
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/http/control/Header.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 setName(String name) {↵ | | 1 | void setParameters(String newScript) {↵
|
2 | this.setProperty(HNAME, name);↵ | | 2 | this.setProperty(↵
|
3 | }↵ | | |
|
|
4 | /**↵ | | |
|
5 | * Get the value for this object.↵ | | |
|
6 | */↵ | | |
|
7 | public synchronized String getValu↵ | | 3 | PARAMETERS, newScript);↵
|
| | | 4 | }↵
|
|
8 | e() {↵ | | 5 | public String getScriptLanguage() {↵
|
9 | return getPropertyAsString(VALUE);↵ | | 6 | return this.getPropertyAsString(LANGUAGE);↵
|
10 | }↵ | | 7 | }↵
|
|
11 | /**↵ | | 8 | ↵
|
12 | * Set the value for this object.↵ | | |
|
13 | */↵ | | |
|
14 | public synchronized void setValue(String value) {↵ | | 9 | public void setScriptLanguage(String lang) {↵
|
15 | this.setProperty(VALUE, value);↵ | | 10 | this.setProperty(LANGUAGE, lang);↵
|
16 | | | 11 |
|
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 |