[
https://issues.apache.org/jira/browse/OAK-11411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17914709#comment-17914709
]
Rishabh Daim commented on OAK-11411:
------------------------------------
There is *StringUtils.stripToNull [1]* method available in commons-lang3 that
does return the Null for empty/null string.
But it does strip the starting/ending empty spaces as well before checking for
null/empty string.
[1]
[https://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/StringUtils.html#stripToNull(java.lang.String)]
> Remove usage of Guava Strings.emptyToNull
> -----------------------------------------
>
> Key: OAK-11411
> URL: https://issues.apache.org/jira/browse/OAK-11411
> Project: Jackrabbit Oak
> Issue Type: Technical task
> Reporter: Rishabh Daim
> Assignee: Rishabh Daim
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)