You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Matt Benson (JIRA)" <ji...@apache.org> on 2011/07/17 07:15:59 UTC

[jira] [Reopened] (LANG-724) Convert Validate.noNullElements(Object[]) to varargs

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

Matt Benson reopened LANG-724:
------------------------------


actually, making this change results in compilation errors for code that previously had no ambiguity, due to the overloaded signature of noNullElements(Object[], String, Object...).

> Convert Validate.noNullElements(Object[]) to varargs
> ----------------------------------------------------
>
>                 Key: LANG-724
>                 URL: https://issues.apache.org/jira/browse/LANG-724
>             Project: Commons Lang
>          Issue Type: Sub-task
>          Components: General
>    Affects Versions: 3.0
>            Reporter: Matt Benson
>            Priority: Minor
>             Fix For: 3.x, 3.0.1
>
>
> IIRC such is binary-compatible and so is not a worry.  Typically the call would exist to validate an array that was already constructed and so wouldn't serve much purpose; however it is conceivable that a caller might wish to validate together several arguments _he_ received separately.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira