Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 80783 invoked from network); 15 Aug 2004 02:17:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 15 Aug 2004 02:17:18 -0000 Received: (qmail 91556 invoked by uid 500); 15 Aug 2004 02:17:15 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 91519 invoked by uid 500); 15 Aug 2004 02:17:15 -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 91505 invoked by uid 500); 15 Aug 2004 02:17:14 -0000 Received: (qmail 91502 invoked by uid 99); 15 Aug 2004 02:17:14 -0000 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.27.1) with SMTP; Sat, 14 Aug 2004 19:17:14 -0700 Received: (qmail 80735 invoked by uid 1360); 15 Aug 2004 02:17:13 -0000 Date: 15 Aug 2004 02:17:13 -0000 Message-ID: <20040815021713.80734.qmail@minotaur.apache.org> From: bayard@apache.org To: jakarta-commons-cvs@apache.org Subject: cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang/builder HashCodeBuilder.java X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N bayard 2004/08/14 19:17:13 Modified: lang/src/java/org/apache/commons/lang/builder HashCodeBuilder.java Log: added comment in javadoc for #30328 Revision Changes Path 1.22 +4 -1 jakarta-commons/lang/src/java/org/apache/commons/lang/builder/HashCodeBuilder.java Index: HashCodeBuilder.java =================================================================== RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/builder/HashCodeBuilder.java,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- HashCodeBuilder.java 18 Feb 2004 22:53:24 -0000 1.21 +++ HashCodeBuilder.java 15 Aug 2004 02:17:13 -0000 1.22 @@ -459,6 +459,9 @@ /** *

Append a hashCode for a boolean.

+ *

This adds iConstant * 1 to the hashCode + * and not a 1231 or 1237 as done in java.lang.Boolean. + * This is in accordance with the Effective Java design.

* * @param value the boolean to add to the hashCode * @return this --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org