The following document contains the results of PMD 7.0.0.
| Rule | Violation | Line |
|---|---|---|
| ForLoopShouldBeWhileLoop | This for loop could be simplified to a while loop | 125–132 |
| ForLoopShouldBeWhileLoop | This for loop could be simplified to a while loop | 147–161 |
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses. | 210 |
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses. | 216 |
| UselessParentheses | Useless parentheses. | 217 |
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MockNode': 'HTTP_WWW_JCP_ORG_JCR_SV_1_0' is already in scope because it is declared in an enclosing type | 64 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MockNode': 'HTTP_WWW_JCP_ORG_JCR_SV_1_0' is already in scope because it is declared in an enclosing type | 67 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MockNode': 'HTTP_WWW_JCP_ORG_JCR_SV_1_0' is already in scope because it is declared in an enclosing type | 76 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MockNode': 'getRooMockNode' is already in scope | 215 |
| UselessParentheses | Useless parentheses. | 321 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| ForLoopShouldBeWhileLoop | This for loop could be simplified to a while loop | 3 | 125–132 |
| ForLoopShouldBeWhileLoop | This for loop could be simplified to a while loop | 3 | 147–161 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses. | 4 | 210 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses. | 4 | 216 |
| UselessParentheses | Useless parentheses. | 4 | 217 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MockNode': 'HTTP_WWW_JCP_ORG_JCR_SV_1_0' is already in scope because it is declared in an enclosing type | 4 | 64 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MockNode': 'HTTP_WWW_JCP_ORG_JCR_SV_1_0' is already in scope because it is declared in an enclosing type | 4 | 67 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MockNode': 'HTTP_WWW_JCP_ORG_JCR_SV_1_0' is already in scope because it is declared in an enclosing type | 4 | 76 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MockNode': 'getRooMockNode' is already in scope | 4 | 215 |
| UselessParentheses | Useless parentheses. | 4 | 321 |