Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 82674 invoked from network); 4 Jan 2002 14:44:12 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 4 Jan 2002 14:44:12 -0000 Received: (qmail 27458 invoked by uid 97); 4 Jan 2002 14:44:10 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 27442 invoked by uid 97); 4 Jan 2002 14:44:10 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 27431 invoked from network); 4 Jan 2002 14:44:09 -0000 Message-ID: <20020104144407.55841.qmail@web10007.mail.yahoo.com> Date: Fri, 4 Jan 2002 06:44:07 -0800 (PST) From: Lavandowska Reply-To: flanandowska@yahoo.com Subject: Re: [PATCH] - PropertyUtils - bug 5639 To: Jakarta Commons Developers List In-Reply-To: <3C35B07C.6080903@keyboardmonkey.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Since this is the third or fourth person in recent memory to submit a patch for List support, will this ability ever be added? --- Arron wrote: > Object value = readMethod.invoke(bean, new Object[0]); > if (!value.getClass().isArray()) { > if (!(value instanceof java.util.List)) { > throw new IllegalArgumentException("Property '" + name > + "' is not indexed"); > } else { > return ((java.util.List)value).get(index); > } > } > return (Array.get(value, index)); ===== Lance Lavandowska Http://www.brainopolis.com/ __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com -- To unsubscribe, e-mail: For additional commands, e-mail: