Daniel Stieglitz created NIFI-16342:
---------------------------------------

             Summary: 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


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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to