You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Stephen Colebourne (JIRA)" <ji...@apache.org> on 2009/11/01 16:45:59 UTC

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

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