[
https://issues.apache.org/jira/browse/NIFI-16492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Stieglitz updated NIFI-16492:
------------------------------------
Description:
Running Intellij
Analyze -> Run Inspection by Name -> 'size() == 0' can be replaced with
'isEmpty()'
indicates there are over 44 places in the code where there is code similar to
'size() == 0' which can be replaced with 'isEmpty()'.
The purpose of this ticket is to replace those places in the code with
'isEmpty()'.
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.
> Replace 'size() == 0' with 'isEmpty()'
> --------------------------------------
>
> Key: NIFI-16492
> URL: https://issues.apache.org/jira/browse/NIFI-16492
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Minor
>
> Running Intellij
> Analyze -> Run Inspection by Name -> 'size() == 0' can be replaced with
> 'isEmpty()'
> indicates there are over 44 places in the code where there is code similar to
> 'size() == 0' which can be replaced with 'isEmpty()'.
> The purpose of this ticket is to replace those places in the code with
> 'isEmpty()'.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)