commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LANG-444) StringUtils.emptyToNull
Date Tue, 10 Jun 2008 09:03:45 GMT

    [ https://issues.apache.org/jira/browse/LANG-444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603811#action_12603811
] 

Robert Scholte commented on LANG-444:
-------------------------------------

Looks a lot like StringUtils.stripToNull(aString). Are you sure you're looking for something
else?

> StringUtils.emptyToNull
> -----------------------
>
>                 Key: LANG-444
>                 URL: https://issues.apache.org/jira/browse/LANG-444
>             Project: Commons Lang
>          Issue Type: New Feature
>    Affects Versions: 2.4
>            Reporter: Hideyuki Suzumi
>            Priority: Minor
>
> Inversion of StringUtils.defaultString(String).
> StringUtils.emptyToNull(null) = null
> StringUtils.emptyToNull("") = null
> StringUtils.emptyToNull("bat") = "bat"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message