openhab / static-code-analysis

Maven tooling for static code analysis
https://www.openhab.org/
Other
32 stars 21 forks source link

Adapt PMD checks to avoid warnings about deprecated rules #448

Closed holgerfriedrich closed 1 year ago

holgerfriedrich commented 1 year ago

codestyle/EmptyControlStatement replaces errorprone/EmptyFinallyBlock, EmptyIfStmt, EmptyInitializer, EmptyStatementBlock, EmptySwitchStatements, EmptySynchronizedBlock, EmptyTryBlock, and EmptyWhileStmt

Reference: https://github.com/pmd/pmd/blob/master/docs/pages/next_major_development.md