String getScope() {
return getPropertyAsString(SCOPE);
}
public int getScopeAsInt() {
return getPropertyAsInt(SCOPE);
}
/***************************************************************************
* Sets the search scope attribute of the LDAPSampler object
*
* @param newScope
* The new scope value
**************************************************************************/
public void setScope(String newScope) {
this.setProperty(SCOPE, newScope);
String getTimeout() {
return getPropertyAsString(TIMEOUT);
}
public int getTimeoutAsInt() {
return getPropertyAsInt(TIMEOUT);
}
public void setTimeout(String text) {
setProperty(TIMEOUT, text);
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/ldap/sampler/LDAPExtSampler.java
|
|
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/sampler/WebServiceSampler.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | String getScope() {↵ | | 1 | String get↵
|
2 | ↵ | | 2 | Timeout() {↵
|
3 | return getPropertyAsString(SCOPE);↵ | | 3 | return getPropertyAsString(↵
|
4 | ↵ | | 4 | TIMEOUT);↵
|
5 | }↵ | | 5 | }↵
|
|
6 | public int getScopeAsInt() {↵ | | 6 | public int getTimeoutAsInt() {↵
|
7 | return getPropertyAsInt(SCOPE);↵ | | 7 | return getPropertyAsInt(↵
|
8 | }↵ | | |
|
|
9 | /***************************************************************************↵ | | |
|
10 | * Sets the search scope attribute of the LDAPSampler object↵ | | |
|
11 | * ↵ | | |
|
12 | * @param newScope↵ | | |
|
13 | * The new scope value↵ | | |
|
14 | **************************************************************************/↵ | | |
|
15 | ↵ | | 8 | TIMEOUT);↵
|
| | | 9 | }↵
|
|
16 | public void setScope(String newScope) {↵ | | 10 | public void setTimeout(String ↵
|
17 | this.↵ | | 11 | text) {↵
|
18 | setProperty(SCOPE, newScope);↵ | | 12 | setProperty(↵
|
19 | | | 13 | TIMEOUT, text);↵
|
| | | 14 |
|
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 |