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

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

[~exceptionfactory]

Here is another one, org.apache.nifi.minifi.toolkit.schema.ConfigSchema on line 
118   
{code:java}
List<String> allRemoteProcessGroupNames = 
allRemoteProcessGroups.stream().map(RemoteProcessGroupSchema::getName).collect(Collectors.toList());{code}
PMD reports allRemoteProcessGroupNames is not used. I am leaning to remove it 
as it seems to be building a list of strings and getName() only returns a 
string.

> 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