String getMethod() {
return getPropertyAsString(METHOD);
}
public void setContentEncoding(String value) {
setProperty(CONTENT_ENCODING, value);
}
public String getContentEncoding() {
return getPropertyAsString(CONTENT_ENCODING);
}
String getPassword() {
return getPropertyAsString(ConfigTestElement.PASSWORD);
}
public void setServer(String newServer) {
this.setProperty(SERVER, newServer);
}
public String getServer() {
return getPropertyAsString(SERVER);
}
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
|
|
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/ftp/sampler/FTPSampler.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | String getMethod() {↵ | | 1 | String getPassword() {↵
|
2 | return getPropertyAsString(METHOD);↵ | | 2 | return getPropertyAsString(ConfigTestElement.PASSWORD);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | public void setContentEncoding(String value) {↵ | | 4 | public void setServer(String newServer) {↵
|
5 | setProperty(CONTENT_ENCODING, value);↵ | | 5 | this.setProperty(SERVER, newServer);↵
|
6 | }↵ | | 6 | }↵
|
|
7 | public String getContentEncoding() {↵ | | 7 | public String getServer() {↵
|
8 | return getPropertyAsString(CONTENT_ENCODING);↵ | | 8 | return getPropertyAsString(SERVER);↵
|
9 | } | | 9 | }
|
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 |