On 30 Oct 00, at 16:12, Rickard �berg wrote:

> Hi!
>
> Dan OConnor wrote:
> > getMethod() will get the method from the class or any superclass.
> > In the case of equals and hashCode, it will always find an
> > implementation in java.lang.Object. Hence, it will not work in this
> > algorithm.
>
> Combine with a check of getDeclaringClass() and you're done. Still
> easier.
>

:-)

-Dan


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to