Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 48258 invoked from network); 17 Dec 2007 10:19:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Dec 2007 10:19:47 -0000 Received: (qmail 82975 invoked by uid 500); 17 Dec 2007 10:19:33 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 82918 invoked by uid 500); 17 Dec 2007 10:19:33 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 82909 invoked by uid 99); 17 Dec 2007 10:19:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Dec 2007 02:19:33 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [134.98.65.18] (HELO gateway.elsag.de) (134.98.65.18) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 17 Dec 2007 10:19:22 +0000 Received: from esmail by gateway.elsag.de via smtpd (for nike.apache.org [192.87.106.230]) with ESMTP; Mon, 17 Dec 2007 11:19:13 +0100 content-class: urn:content-classes:message Subject: RE: [lang] equalsBuilder unexplained wrong equality with java.lang.Longs ? MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Mon, 17 Dec 2007 11:19:12 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [lang] equalsBuilder unexplained wrong equality with java.lang.Longs ? Thread-Index: AchAOdJvhxAUyqy5QJ+Nj72hFKrkuwAT+cEgAAMNGtA= References: <501089280712161516h61b4eca0rb940d1732eab3b37@mail.gmail.com> <94C476C03BFF5E42AC3518FDAC9643C4252F7BB706@HQMAIL.rocketsoftware.com> From: =?iso-8859-1?Q?J=F6rg_Schaible?= To: "Jakarta Commons Users List" X-Virus-Checked: Checked by ClamAV on apache.org Gary Gregory wrote: > Hello Laurent: >=20 > This behavior is 'normal'. The concepts of object equality > (the equals() method) and object identity (=3D=3D) 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=F6rg --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org