boolean reportErrors() {
return getPropertyAsBoolean(REPORT_ERRORS_KEY, false);
}
public void setShowWarnings(boolean val) {
setProperty(SHOW_WARNINGS_KEY, val, false);
}
public boolean showWarnings() {
return getPropertyAsBoolean(SHOW_WARNINGS_KEY, false);
boolean isNegated() {
return getPropertyAsBoolean(NEGATE_KEY, false);
}
public void setReportErrors(boolean val) {
setProperty(REPORT_ERRORS_KEY, val, false);
}
public boolean reportErrors() {
return getPropertyAsBoolean(REPORT_ERRORS_KEY, false);
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/assertions/XPathAssertion.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | boolean reportErrors() {↵ | | 1 | boolean isNegated() {↵
|
2 | return getPropertyAsBoolean(REPORT_ERRORS_KEY, false);↵ | | 2 | return getPropertyAsBoolean(NEGATE_KEY, false);↵
|
3 | }↵ | | 3 | }↵
|
4 | ↵ | | |
|
5 | public void setShowWarnings(boolean val) {↵ | | 4 | public void setReportErrors(boolean val) {↵
|
6 | setProperty(SHOW_WARNINGS_KEY, val, false);↵ | | 5 | setProperty(REPORT_ERRORS_KEY, val, false);↵
|
7 | }↵ | | 6 | }↵
|
8 | ↵ | | 7 | ↵
|
9 | public boolean showWarnings() {↵ | | 8 | public boolean reportErrors() {↵
|
10 | return getPropertyAsBoolean(SHOW_WARNINGS_KEY, false);↵ | | 9 | return getPropertyAsBoolean(REPORT_ERRORS_KEY, false);↵
|
11 | | | 10 |
|
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 |