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

Daniel Stieglitz commented on NIFI-14140:
-----------------------------------------

[~exceptionfactory] How about WriteAheadLocalStateProvider on line 113?
{code:java}
int numPartitions = context.getProperty(NUM_PARTITIONS).asInteger();{code}
PMD is reporting numPartitions is never used. Can I remove this?

 

> Apply PMD's UnusedLocalVariable across the code base
> ----------------------------------------------------
>
>                 Key: NIFI-14140
>                 URL: https://issues.apache.org/jira/browse/NIFI-14140
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Daniel Stieglitz
>            Assignee: Daniel Stieglitz
>            Priority: Minor
>




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

Reply via email to