[ 
https://issues.apache.org/jira/browse/NIFI-14992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18021593#comment-18021593
 ] 

ASF subversion and git services commented on NIFI-14992:
--------------------------------------------------------

Commit d4a6046e7cb82440805b147f7a0e2f08301d22ea in nifi's branch 
refs/heads/main from Pierre Villard
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=d4a6046e7c ]

NIFI-14992 Remove deprecated PMD rule UselessOperationOnImmutable (#10323)

Signed-off-by: David Handermann <[email protected]>

> Remove deprecated PMD rule UselessOperationOnImmutable
> ------------------------------------------------------
>
>                 Key: NIFI-14992
>                 URL: https://issues.apache.org/jira/browse/NIFI-14992
>             Project: Apache NiFi
>          Issue Type: Task
>            Reporter: Pierre Villard
>            Assignee: Pierre Villard
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> https://pmd.github.io/pmd/pmd_rules_java_errorprone.html#uselessoperationonimmutable
> {code:java}
> [WARNING] Warning at 
> /Users/pvillard/dev/github/nifi/nifi-commons/nifi-web-client-api/target/pmd/rulesets/001-pmd-ruleset.xml:101:5
>   99|     <rule ref="category/java/errorprone.xml/UnconditionalIfStatement" />
>  100|     <rule 
> ref="category/java/errorprone.xml/UnnecessaryConversionTemporary" />
>  101|     <rule 
> ref="category/java/errorprone.xml/UselessOperationOnImmutable" />
>           ^^^^^ Discontinue using Rule name 
> category/java/errorprone.xml/UselessOperationOnImmutable as it is scheduled 
> for removal from PMD. PMD 8.0.0 will remove support for this Rule. 102| 
>  103|     <rule ref="category/java/multithreading.xml/AvoidThreadGroup" />
> [WARNING] Warning at 
> /Users/pvillard/dev/github/nifi/nifi-commons/nifi-web-client-api/target/pmd/rulesets/001-pmd-ruleset.xml:101:5
>   99|     <rule ref="category/java/errorprone.xml/UnconditionalIfStatement" />
>  100|     <rule 
> ref="category/java/errorprone.xml/UnnecessaryConversionTemporary" />
>  101|     <rule 
> ref="category/java/errorprone.xml/UselessOperationOnImmutable" />
>           ^^^^^ Discontinue using Rule name 
> category/java/errorprone.xml/UselessOperationOnImmutable as it is scheduled 
> for removal from PMD. PMD 8.0.0 will remove support for this Rule. 102| 
>  103|     <rule ref="category/java/multithreading.xml/AvoidThreadGroup" /> 
> {code}



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

Reply via email to