Commit 4ebf84d
committed
Updated to PMD 7.18
https://github.com/pmd/pmd/releases/tag/pmd_releases%2F7.18.0
Reasoning:
* Newly included/Changed
* `IdenticalConditionalBranches` → self explaining
* `LabeledStatement` → are confusing to use and I barely ever see them
* Not included
* `UnusedLabel` → Not used because `LabeledStatement` already handles these
* `ConfusingTernary` → Not helpful in most situations
* `AvoidCatchingGenericException` → Might be ok for maybe Throwable or Error (but we sometimes also have to catch those), however not catching Exceptions and RuntimeExceptions is an extremely bad practice1 parent 8083575 commit 4ebf84d
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
| 153 | + | |
152 | 154 | | |
153 | 155 | | |
154 | 156 | | |
| |||
0 commit comments