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

Daniel Stieglitz edited comment on NIFI-14140 at 1/9/25 7:32 PM:
-----------------------------------------------------------------

How about StandardNiFiServiceFacade on lines 3466, 3488 and 5005
{code:java}
final PermissionsDTO operatePermissions = dtoFactory.createPermissionsDto(new 
OperationAuthorizable(parameterProvider));{code}
Do I ignore the PMD warning or can I remove the variable but just still have 
the callĀ 
{code:java}
dtoFactory.createPermissionsDto(new 
OperationAuthorizable(parameterProvider));{code}
or is it okay to remove the whole line?


was (Author: JIRAUSER294662):
How about StandardNiFiServiceFacade on line 3466
{code:java}
final PermissionsDTO operatePermissions = dtoFactory.createPermissionsDto(new 
OperationAuthorizable(parameterProvider));{code}
Do I ignore the PMD warning or can I remove the variable but just still have 
the callĀ 
{code:java}
dtoFactory.createPermissionsDto(new 
OperationAuthorizable(parameterProvider));{code}
or is it okay to remove the whole line?

> 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