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

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

Github user Xaerxess commented on a diff in the pull request:

    https://github.com/apache/commons-lang/pull/199#discussion_r85637819
  
    --- Diff: src/main/java/org/apache/commons/lang3/ArrayUtils.java ---
    @@ -7967,4 +7967,29 @@ public static boolean isSorted(boolean[] array) {
     
             return removeAll(array, Arrays.copyOf(indices, count));
         }
    +
    +    /**
    +     * Returns an array containing the string representation of each entry 
in the argument array.
    +     *
    +     * <p>
    +     * A {@code null} input Object[] returns {@code null}.
    --- End diff --
    
    One more thing came to my mind - we can document `null` elements handling. 
I don't have exact words for that, but something like `A {@code null} input 
Object[] returns {@code null}. {@code null} elements are preserved.`.


> toStringArray(Object[]) method
> ------------------------------
>
>                 Key: LANG-1258
>                 URL: https://issues.apache.org/jira/browse/LANG-1258
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.*
>            Reporter: IG
>            Priority: Minor
>         Attachments: 0001-Add-toStringArray-Object-method.patch
>
>
> This method returns a String[] containing the String representation of each 
> item of the Object[] parameter.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to