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:38:00 UTC
[jira] [Created] (LANG-1422) Add null-safe
StringUtils.valueOf(char[]) to delegate to String.valueOf(char[])
Gary Gregory created LANG-1422:
----------------------------------
Summary: 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
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)