commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <>
Subject RE: [lang] equalsBuilder unexplained wrong equality with java.lang.Longs ?
Date Mon, 17 Dec 2007 10:19:12 GMT
Gary Gregory wrote:
> Hello Laurent:
> This behavior is 'normal'. The concepts of object equality
> (the equals() method) and object identity (==) are different.

Well, this was not Laurent's question. He was wondering, why the EqualsBuilder seems to use
in his example the Long objects' identity instead of their equals method.


- Jörg

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message