[
https://issues.apache.org/jira/browse/IGNITE-20980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17790500#comment-17790500
]
Kirill Sizov commented on IGNITE-20980:
----------------------------------------
As per [~apolovtcev],
{quote}
this task might not be so straightforward as
{{category/java/codestyle.xml/EmptyControlStatement}} is not a direct
replacement, we have some cases when an empty statement is allowed.
{quote}
> PMD - replace deprecated rules with new ones to be able to upgrade to PMD 7.x.
> ------------------------------------------------------------------------------
>
> Key: IGNITE-20980
> URL: https://issues.apache.org/jira/browse/IGNITE-20980
> Project: Ignite
> Issue Type: Task
> Reporter: Kirill Sizov
> Priority: Major
> Labels: ignite-3
>
> {code}
> <rule ref="category/java/errorprone.xml/EmptyFinallyBlock"/>
> <rule ref="category/java/errorprone.xml/EmptySwitchStatements"/>
> <rule ref="category/java/errorprone.xml/EmptyStatementNotInLoop"/>
> <rule ref="category/java/errorprone.xml/EmptySynchronizedBlock"/>
> {code}
> These four to be replaced with the following one:
> {code}
> <rule ref="category/java/codestyle.xml/EmptyControlStatement" />
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)