commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30328] - [lang] HashCodeBuilder does not use the same values as Boolean for boolean.
Date Sun, 15 Aug 2004 02:19:48 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30328>.
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=30328

[lang] HashCodeBuilder does not use the same values as Boolean for boolean.





------- Additional Comments From bayard@apache.org  2004-08-15 02:19 -------
Added:

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

Leaving for you to okay this Gary and close the issue if I got it right.

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


Mime
View raw message