commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <Joerg.Schai...@Elsag-Solutions.com>
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.

[snip]

- Jörg

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message