[jdom-interest] Namespace.hashcode patch

Jason Hunter jhunter at collab.net
Wed May 30 14:18:52 PDT 2001


Bryan Thale wrote:
> 
> When Namespace.equals() was modified to compare only URI's and not
> prefixes, hashCode() was not similarly adjusted.  Since this breaks the
> contract established by java.lang.Object, I would like to propose that
> hashCode() be modified to simply return uri.hashCode().

Done!  Thanks.

-jh-



More information about the jdom-interest mailing list