You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Daniel Stieglitz (Jira)" <ji...@apache.org> on 2026/09/14 17:21:00 UTC
[jira] [Updated] (NIFI-16342) Replace deprecated PMD rule CheckSkipResult with suggested rule UnusedReturnValue
[ https://issues.apache.org/jira/browse/NIFI-16342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Stieglitz updated NIFI-16342:
------------------------------------
Description:
Since the upgrade from PMD from 7.26.0 to 7.27.0 in NIFI-16306, the build has been outputting the following warning message:
{code:java}
[WARNING] Warning /target/pmd/rulesets/001-pmd-ruleset.xml:92:5
90| <rule ref="category/java/errorprone.xml/AvoidUsingOctalValues" />
91| <rule ref="category/java/errorprone.xml/BrokenNullCheck" />
92| <rule ref="category/java/errorprone.xml/CheckSkipResult" />
^^^^^ Discontinue using Rule name category/java/errorprone.xml/CheckSkipResult as it is scheduled for removal from PMD. PMD 8.0.0 will remove support for this Rule.
{code}
Per the PMD 7.27.0 [release notes|https://github.com/pmd/pmd/releases/tag/pmd_releases%2F7.27.0] , the rule UnusedReturnValue should be used instead of CheckSkipResult.
was:
Since the upgrade from PMD from 7.26.0 to 7.27.0 in NIFI-16306, the build has been outputting the following warning message:
{code:java}
[WARNING] Warning /target/pmd/rulesets/001-pmd-ruleset.xml:92:5
90| <rule ref="category/java/errorprone.xml/AvoidUsingOctalValues" />
91| <rule ref="category/java/errorprone.xml/BrokenNullCheck" />
92| <rule ref="category/java/errorprone.xml/CheckSkipResult" />
^^^^^ Discontinue using Rule name category/java/errorprone.xml/CheckSkipResult as it is scheduled for removal from PMD. PMD 8.0.0 will remove support for this Rule.
{code}
Per the PMD 7.27.0 [release notes|https://github.com/pmd/pmd/releases/tag/pmd_releases%2F7.27.0] , rule UnusedReturnValue should replace CheckSkipResult
> Replace deprecated PMD rule CheckSkipResult with suggested rule UnusedReturnValue
> ---------------------------------------------------------------------------------
>
> Key: NIFI-16342
> URL: https://issues.apache.org/jira/browse/NIFI-16342
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Minor
>
> Since the upgrade from PMD from 7.26.0 to 7.27.0 in NIFI-16306, the build has been outputting the following warning message:
> {code:java}
> [WARNING] Warning /target/pmd/rulesets/001-pmd-ruleset.xml:92:5
> 90| <rule ref="category/java/errorprone.xml/AvoidUsingOctalValues" />
> 91| <rule ref="category/java/errorprone.xml/BrokenNullCheck" />
> 92| <rule ref="category/java/errorprone.xml/CheckSkipResult" />
> ^^^^^ Discontinue using Rule name category/java/errorprone.xml/CheckSkipResult as it is scheduled for removal from PMD. PMD 8.0.0 will remove support for this Rule.
> {code}
> Per the PMD 7.27.0 [release notes|https://github.com/pmd/pmd/releases/tag/pmd_releases%2F7.27.0] , the rule UnusedReturnValue should be used instead of CheckSkipResult.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)