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

David Handermann commented on NIFI-16129:
-----------------------------------------

[~dayoung] The StringUtils methods include null checking, which is not part of 
the standard Java String class. For this reason, a simple replacement is not 
necessarily applicable. Unless there is a clear evaluation of all usage 
patterns for selected modules, this issue seems too broad, and should not 
necessarily be considered as something to pursue.

> Remove StringUtils#isEmpty(), #isBlank(), etc
> ---------------------------------------------
>
>                 Key: NIFI-16129
>                 URL: https://issues.apache.org/jira/browse/NIFI-16129
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: David Young
>            Priority: Major
>
> Using Commons.lang3 StringUtils#isEmpty, #isBlank and friends are not 
> necessary anymore because Java now provides these functions and are built 
> onto the String class.
> Goal would be to eliminate as many of these usages as possible and evaluate 
> if the dependency would be needed at all. 
> Going to start work in `nifi-web-api` but this should probably be moved to an 
> epic at some point to enable going package by package.



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

Reply via email to