You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2018/10/25 14:54:00 UTC

[jira] [Closed] (LANG-1422) Add null-safe StringUtils.valueOf(char[]) to delegate to String.valueOf(char[])

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

Gary Gregory closed LANG-1422.
------------------------------
       Resolution: Fixed
    Fix Version/s: 3.9

In git master.

> Add null-safe StringUtils.valueOf(char[]) to delegate to String.valueOf(char[])
> -------------------------------------------------------------------------------
>
>                 Key: LANG-1422
>                 URL: https://issues.apache.org/jira/browse/LANG-1422
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.*
>            Reporter: Gary Gregory
>            Assignee: Gary Gregory
>            Priority: Major
>             Fix For: 3.9
>
>
> Add null-safe API {{StringUtils.valueOf(char[])}} to delegate to {{String.valueOf(char[])}}:
> {code:java} 
>     public static String valueOf(final char[] value) {
>         return value == null ? null : String.valueOf(value);     
>     }
> {code}



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