[jdom-interest] Text.hashCode()

Noam Tamim noamt at yahoo.com
Tue Jun 19 15:49:07 PDT 2001


Hi.

The equals() method of the new Text class, like all other JDOM nodes,
is based on this==that. Inconsistently, its hashCode() method returns
the hashCode of the String content.
Was this done in purpose, or is it a mistake?

 - Noam.







More information about the jdom-interest mailing list