void setNamespace(boolean namespace) {
setProperty(new BooleanProperty(NAMESPACE_KEY, namespace));
}
/**
* Set tolerant mode if required
*
* @param tolerant
* true/false
*/
public void setTolerant(boolean tolerant) {
setProperty(new BooleanProperty(TOLERANT_KEY, tolerant));
}
public void setNegated(boolean negate) {
setProperty(new BooleanProperty(NEGATE_KEY, negate));
}
void setPathExtensionNoEquals(boolean pathExtNoEquals) {
setProperty(new BooleanProperty(PATH_EXTENSION_NO_EQUALS, pathExtNoEquals));
}
public void setPathExtensionNoQuestionmark(boolean pathExtNoQuestionmark) {
setProperty(new BooleanProperty(PATH_EXTENSION_NO_QUESTIONMARK, pathExtNoQuestionmark));
}
public void setShouldCache(boolean b) {
setProperty(new BooleanProperty(SHOULD_CACHE, b));
}
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/assertions/XPathAssertion.java
|
|
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/modifier/URLRewritingModifier.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | void setNamespace(boolean namespace) {↵ | | 1 | void set↵
|
2 | setProperty(new BooleanProperty(NAMESPACE_KEY, namespace));↵ | | |
|
3 | }↵ | | |
|
|
4 | /**↵ | | |
|
5 | * Set tolerant mode if required↵ | | |
|
6 | * ↵ | | |
|
7 | * @param tolerant↵ | | |
|
8 | * true/false↵ | | |
|
9 | */↵ | | |
|
10 | public void setTolerant(boolean tolerant) {↵ | | |
|
11 | setProperty(new BooleanProperty(TOLERANT_KEY, tolerant↵ | | 2 | PathExtensionNoEquals(boolean pathExtNoEquals) {↵
|
| | | 3 | setProperty(new BooleanProperty(PATH_EXTENSION_NO_EQUALS, pathExtNoEquals));↵
|
| | | 4 | }↵
|
|
| | | 5 | public void setPathExtensionNoQuestionmark(boolean pathExtNoQuestionmark) {↵
|
12 | ));↵ | | 6 | setProperty(new BooleanProperty(PATH_EXTENSION_NO_QUESTIONMARK, pathExtNoQuestionmark));↵
|
13 | }↵ | | 7 | }↵
|
|
14 | public void setNegated(boolean negate) {↵ | | 8 | public void set↵
|
15 | ↵ | | 9 | ShouldCache(boolean b) {↵
|
16 | setProperty(new BooleanProperty(NEGATE_KEY, negate));↵ | | 10 | setProperty(new BooleanProperty(SHOULD_CACHE, b));↵
|
17 | } | | 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 |