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

  was:
Running Intellij

Analyze -> Run Inspection by Name -> Misordered 'assertEqual' arguments

indicates there are over 100 places in the code where the arguments for 
assertEqual are not in the correct order.

The purpose of this ticket is to correct the arguments order.


> 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
>
> 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.



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

Reply via email to