[
https://issues.apache.org/jira/browse/NIFI-16129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18097675#comment-18097675
]
David Handermann commented on NIFI-16129:
-----------------------------------------
Thanks for the reply.
There is a NiFi StringUtils, but it is in another module that has sprawled
beyond its original usage, so it is not a great candidate to drop in and
replace commons-lang3 right now.
I would close this current issue, and consider more targeted approaches. If you
find a particular module that could be cleanly simplified to remove the
commons-lang3 dependency, that might be worth opening a new issue, but only if
the usage pattern for StringUtils is very clear.
> 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)