The following document contains the results of PMD 6.46.0.
| Rule | Violation | Line |
|---|---|---|
| SimplifiedTernary | Ternary operators that can be simplified with || or && | 178 |
| SimplifiedTernary | Ternary operators that can be simplified with || or && | 632 |
| SimplifiedTernary | Ternary operators that can be simplified with || or && | 652 |
| SimplifiedTernary | Ternary operators that can be simplified with || or && | 1079 |
| SimplifiedTernary | Ternary operators that can be simplified with || or && | 1100 |
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 64–67 |
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses. | 103–104 |
| UselessParentheses | Useless parentheses. | 108–109 |
| UselessParentheses | Useless parentheses. | 123–126 |
| UselessParentheses | Useless parentheses. | 130–133 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses. | 4 | 103–104 |
| UselessParentheses | Useless parentheses. | 4 | 108–109 |
| UselessParentheses | Useless parentheses. | 4 | 123–126 |
| UselessParentheses | Useless parentheses. | 4 | 130–133 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| SimplifiedTernary | Ternary operators that can be simplified with || or && | 3 | 178 |
| SimplifiedTernary | Ternary operators that can be simplified with || or && | 3 | 632 |
| SimplifiedTernary | Ternary operators that can be simplified with || or && | 3 | 652 |
| SimplifiedTernary | Ternary operators that can be simplified with || or && | 3 | 1079 |
| SimplifiedTernary | Ternary operators that can be simplified with || or && | 3 | 1100 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 64–67 |