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

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

Commit 7483e76dab238498fa308504c1823de9232368a7 in nifi's branch 
refs/heads/main from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=7483e76dab2 ]

NIFI-16345 Removed redundant or unnecessary variable checking and fixed 
incorrect constant usage (#11682)

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

> Remove redundant or unnecessary variable checking and fix logic where 
> constant values were used in error
> --------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-16345
>                 URL: https://issues.apache.org/jira/browse/NIFI-16345
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Daniel Stieglitz
>            Assignee: Daniel Stieglitz
>            Priority: Minor
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Running Intellij
> Analyze -> Run Inspection by Name -> Constant values
> There are many items which are flagged due to using constant values. The 
> point of this ticket is to fix those places in the code where this check 
> uncovered instances where there are redundant or unnecessary checks (e.g. 
> check that variable is not null where previously there was validation that 
> the variable cannot be null) and in cases where a variable was instantiated 
> and set with a value but never updated yet it should have.



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

Reply via email to