[
https://issues.apache.org/jira/browse/LANG-655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henri Yandell closed LANG-655.
------------------------------
Resolution: Fixed
Fix Version/s: 3.0
Thanks Nicklas, that looked excellent.
svn ci -m "Adding StringUtils.defaultIfBlank(String, String). Requested by Adam
Dyga, patch from Nicklas Holm. LANG-655"
Sending src/main/java/org/apache/commons/lang3/StringUtils.java
Sending src/test/java/org/apache/commons/lang3/StringUtilsTest.java
Transmitting file data ..
Committed revision 1030830.
> Add StringUtils.defaultIfBlank()
> --------------------------------
>
> Key: LANG-655
> URL: https://issues.apache.org/jira/browse/LANG-655
> Project: Commons Lang
> Issue Type: Wish
> Components: lang.*
> Affects Versions: 2.5
> Reporter: Adam Dyga
> Priority: Minor
> Fix For: 3.0
>
> Attachments: StringUtils.diff
>
>
> Add StringUtils.defaultIfBlank(String str) and
> StringUtils.defaultIfBlank(String str, String defaultStr) methods, similar to
> defaultIfEmpty() .
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.