You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Paul Pogonyshev (JIRA)" <ji...@apache.org> on 2014/11/29 19:16:12 UTC

[jira] [Created] (LANG-1070) confusing example in ArrayUtils.add()

Paul Pogonyshev created LANG-1070:
-------------------------------------

             Summary: confusing example in ArrayUtils.add()
                 Key: LANG-1070
                 URL: https://issues.apache.org/jira/browse/LANG-1070
             Project: Commons Lang
          Issue Type: Improvement
          Components: lang.*
    Affects Versions: 3.3.2
            Reporter: Paul Pogonyshev
            Priority: Trivial


Method documentation claims that

    ArrayUtils.addAll(null, null)     = null

However, this is not true since this parameter combination leads to an exception.

Either remove this line from documentation, or rewrite it to explicitly mention the exception.



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