[ 
https://issues.apache.org/jira/browse/NIFI-16345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Stieglitz updated NIFI-16345:
------------------------------------
    Description: 
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.

  was:
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 may have been instantiated and 
set with a value but never updated.


> 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: 10m
>  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