[ 
https://issues.apache.org/jira/browse/LANG-444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henri Yandell closed LANG-444.
------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0

svn ci -m "Added javadoc to show that LANG-444 can be implemented by 
defaultIfEmpty, and proved it in the unit test"

Sending        src/java/org/apache/commons/lang/StringUtils.java
Sending        src/test/org/apache/commons/lang/StringUtilsTest.java
Transmitting file data ..
Committed revision 672995.

> 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
>             Fix For: 3.0
>
>
> 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.

Reply via email to