commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Closed: (LANG-444) StringUtils.emptyToNull
Date Tue, 01 Jul 2008 04:55:45 GMT

     [ 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.


Mime
View raw message