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
From: [EMAIL PROTECTED]
To: user@commons.apache.org; [EMAIL PROTECTED]
Date: Mon, 17 Dec 2007 04:32:44 -0500
Subject: RE: [lang] equalsBuilder unexplained wrong equality with
java.lang.Longs ?
Hello Laurent:
This behavior is 'normal'. The concepts of object equality (the equals
]
To: user@commons.apache.org
Subject: Re: [lang] equalsBuilder unexplained wrong equality with
java.lang.Longs ?
On 17/12/2007, Shawn Garner [EMAIL PROTECTED] wrote:
This is the number one programming error I've seen (not the only one
though).
Most of the time