[
https://issues.apache.org/jira/browse/NIFI-16492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18130574#comment-18130574
]
ASF subversion and git services commented on NIFI-16492:
--------------------------------------------------------
Commit eeed7d3fdf32613959c511f8bd016f0932dc793f in nifi's branch
refs/heads/main from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=eeed7d3fdf3 ]
NIFI-16492 Replaced size() checks with isEmpty() (#11835)
Signed-off-by: David Handermann <[email protected]>
> 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
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)