commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <bay...@generationjava.com>
Subject Re: [PATCH] - PropertyUtils - bug 5639
Date Fri, 04 Jan 2002 14:50:30 GMT
Is it just that no one is watching out for PropertyUtils, or the people
who usually watch on it are busy?

Bay

On Fri, 4 Jan 2002, Lavandowska wrote:

> 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 <arron@keyboardmonkey.com> 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:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message