On Fri, 4 Jan 2002 [EMAIL PROTECTED] wrote:
> Date: Fri, 4 Jan 2002 09:50:30 -0500 (EST)
> From: [EMAIL PROTECTED]
> Reply-To: Jakarta Commons Developers List <[EMAIL PROTECTED]>
> To: Jakarta Commons Developers List <[EMAIL PROTECTED]>
> Subject: Re: [PATCH] - PropertyUtils - bug 5639
>
> Is it just that no one is watching out for PropertyUtils, or the people
> who usually watch on it are busy?
>
The latter.
There is also an important philosophical issue here -- it breaks
conformance with standard JavaBeans definition of the semantics for
indexed properties, which does *not* include List based support. That's
worth some reflective discussion first, and (so far) I remain somewhat
unconvinced that we should deviate here.
> Bay
>
Craig
> 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 <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> >
> >
>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>