Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 52252 invoked from network); 16 Oct 2004 17:25:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 16 Oct 2004 17:25:59 -0000 Received: (qmail 7331 invoked by uid 500); 16 Oct 2004 17:25:56 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 7105 invoked by uid 500); 16 Oct 2004 17:25:54 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 7086 invoked by uid 99); 16 Oct 2004 17:25:54 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [192.18.33.10] (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 16 Oct 2004 10:25:52 -0700 Received: (qmail 20861 invoked by uid 50); 16 Oct 2004 17:27:52 -0000 Date: 16 Oct 2004 17:27:52 -0000 Message-ID: <20041016172752.20860.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: commons-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 30855] - [lang] Additional constructor for EqualsBuilder and isEquals member access. X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30855 [lang] Additional constructor for EqualsBuilder and isEquals member access. scolebourne@joda.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX ------- Additional Comments From scolebourne@joda.org 2004-10-16 17:27 ------- I was going to add this in, but then I considered whether it was really useful. The reality is that it is better for the caller to write: if (this == other) { return true; } return new EqualsBuilder().append(....... than to always use the EqualsBuilder: return new EqualsBuilder(this, other).append(...... (which involves much more processing) --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org