[jira] Created: (LANG-546) Add methods to Validate to check whether the index is valid for the array/list/string

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

[jira] Created: (LANG-546) Add methods to Validate to check whether the index is valid for the array/list/string

JIRA jira@apache.org
Add methods to Validate to check whether the index is valid for the array/list/string
-------------------------------------------------------------------------------------

                 Key: LANG-546
                 URL: https://issues.apache.org/jira/browse/LANG-546
             Project: Commons Lang
          Issue Type: New Feature
            Reporter: Stephen Colebourne
            Priority: Minor
             Fix For: 3.0


Validate should have methods to check whether the index to an array/collection/string is a valid index:

public void validIndex(Object[] array, int index)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (LANG-546) Add methods to Validate to check whether the index is valid for the array/list/string

JIRA jira@apache.org

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

Stephen Colebourne updated LANG-546:
------------------------------------

    Attachment: ValidateValidIndex.patch

> Add methods to Validate to check whether the index is valid for the array/list/string
> -------------------------------------------------------------------------------------
>
>                 Key: LANG-546
>                 URL: https://issues.apache.org/jira/browse/LANG-546
>             Project: Commons Lang
>          Issue Type: New Feature
>            Reporter: Stephen Colebourne
>            Priority: Minor
>             Fix For: 3.0
>
>         Attachments: ValidateValidIndex.patch
>
>
> Validate should have methods to check whether the index to an array/collection/string is a valid index:
> public void validIndex(Object[] array, int index)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (LANG-546) Add methods to Validate to check whether the index is valid for the array/list/string

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Stephen Colebourne closed LANG-546.
-----------------------------------

    Resolution: Fixed

commit -m "LANG-546 - Validate.validIndex()" /dev/commons/lang/src/java/org/apache/commons/lang/Validate.java /dev/commons/lang/src/test/org/apache/commons/lang/ValidateTest.java
    Sending        /dev/commons/lang/src/java/org/apache/commons/lang/Validate.java
    Sending        /dev/commons/lang/src/test/org/apache/commons/lang/ValidateTest.java
    Transmitting file data ...
    Committed revision 831689.

> Add methods to Validate to check whether the index is valid for the array/list/string
> -------------------------------------------------------------------------------------
>
>                 Key: LANG-546
>                 URL: https://issues.apache.org/jira/browse/LANG-546
>             Project: Commons Lang
>          Issue Type: New Feature
>            Reporter: Stephen Colebourne
>            Priority: Minor
>             Fix For: 3.0
>
>         Attachments: ValidateValidIndex.patch
>
>
> Validate should have methods to check whether the index to an array/collection/string is a valid index:
> public void validIndex(Object[] array, int index)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.