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.

/Rickard

-- 
Rickard �berg

Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com



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

Reply via email to