On Mon, 20 Jan 2003, Baltz, Kenneth wrote:

> Date: Mon, 20 Jan 2003 17:40:23 -0800
> From: "Baltz, Kenneth" <[EMAIL PROTECTED]>
> Reply-To: Jakarta Commons Users List <[EMAIL PROTECTED]>
> To: Jakarta Commons Users List <[EMAIL PROTECTED]>
> Subject: RE: copyproperties
>
> > It's also not legal to have two setApplydate() methods with
> > different data
> > types (even though such overloading is legal from a Java perspective).
> >
>
> Is that true?  I thought that as long as you have a getter/setter pair that
> use the same type (the getter returns the same type as the setter arg), then
> it's OK to overload the setter.
>

Not according to the JavaBeans spec, or the actual implementation in
java.beans.Introspector.

> K.C.

Craig


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to