You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Nicklas Holm (JIRA)" <ji...@apache.org> on 2010/11/01 14:09:24 UTC

[jira] Commented: (LANG-655) Add StringUtils.defaultIfBlank()

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

Nicklas Holm commented on LANG-655:
-----------------------------------

I have attached a patch for this.

> 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
>         Attachments: StringUtils.java.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.