commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LANG-1375) defaultString(final String str) in StringUtils to reuse defaultString(final String str, final String defaultStr)
Date Sat, 20 Jan 2018 02:18:00 GMT

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

ASF GitHub Bot commented on LANG-1375:
--------------------------------------

GitHub user codingsince1985 opened a pull request:

    https://github.com/apache/commons-lang/pull/312

    LANG-1375: defaultString(str) reuses defaultString(str, defaultStr)

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/codingsince1985/commons-lang LANG-1375

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/commons-lang/pull/312.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #312
    
----
commit d575057852ab2be41abb39b8de69a35cace5c67d
Author: Jerry Zhao <jerry.zhao@...>
Date:   2018-01-19T02:57:30Z

    LANG-1375: defaultString(str) reuses defaultString(str, defaultStr)

----


> defaultString(final String str) in StringUtils to reuse defaultString(final String str,
final String defaultStr)
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: LANG-1375
>                 URL: https://issues.apache.org/jira/browse/LANG-1375
>             Project: Commons Lang
>          Issue Type: Improvement
>            Reporter: Jerry Zhao
>            Priority: Minor
>
> {{defaultString(final String str)}}
> is a special case of
> {{defaultString(final String str, final String defaultStr)}}
> with defaultStr = StringUtils.EMPTY



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message