Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 42618 invoked from network); 1 Nov 2009 15:46:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Nov 2009 15:46:22 -0000 Received: (qmail 89541 invoked by uid 500); 1 Nov 2009 15:46:22 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 89447 invoked by uid 500); 1 Nov 2009 15:46:22 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 89437 invoked by uid 99); 1 Nov 2009 15:46:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Nov 2009 15:46:22 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Nov 2009 15:46:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7629F234C495 for ; Sun, 1 Nov 2009 07:45:59 -0800 (PST) Message-ID: <1204176959.1257090359482.JavaMail.jira@brutus> Date: Sun, 1 Nov 2009 15:45:59 +0000 (UTC) From: "Stephen Colebourne (JIRA)" To: issues@commons.apache.org Subject: [jira] Closed: (LANG-546) Add methods to Validate to check whether the index is valid for the array/list/string In-Reply-To: <1946814359.1256391839377.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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.