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

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Sebb (Jira)
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
            Reporter: Matt Benson
            Priority: Minor


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

       
Reply | Threaded
Open this post in threaded view
|

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

Sebb (Jira)

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

Matt Benson updated LANG-724:
-----------------------------

    Affects Version/s: 3.0

> 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
>
>
> 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

       
Reply | Threaded
Open this post in threaded view
|

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

Sebb (Jira)
In reply to this post by Sebb (Jira)

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

Matt Benson resolved LANG-724.
------------------------------

    Resolution: Fixed

Committed revision 1147524.

> 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

       
Reply | Threaded
Open this post in threaded view
|

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

Sebb (Jira)
In reply to this post by Sebb (Jira)

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

Matt Benson updated LANG-724:
-----------------------------

    Fix Version/s: 3.0.1

> 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

       
Reply | Threaded
Open this post in threaded view
|

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

Sebb (Jira)
In reply to this post by Sebb (Jira)

     [ 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

       
Reply | Threaded
Open this post in threaded view
|

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

Sebb (Jira)
In reply to this post by Sebb (Jira)

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

Matt Benson updated LANG-724:
-----------------------------

    Fix Version/s:     (was: 3.0.1)
                       (was: 3.x)

> 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
>
> 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

       
Reply | Threaded
Open this post in threaded view
|

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

Sebb (Jira)
In reply to this post by Sebb (Jira)

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

Matt Benson resolved LANG-724.
------------------------------

    Resolution: Won't Fix

> 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