Author: bayard
Date: Tue Jul  6 07:36:38 2010
New Revision: 960834

URL: http://svn.apache.org/viewvc?rev=960834&view=rev
Log:
Updating javadoc per Sean Mickey's 2nd comment to LANG-628

Modified:
    
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/HashCodeBuilder.java

Modified: 
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/HashCodeBuilder.java
URL: 
http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/HashCodeBuilder.java?rev=960834&r1=960833&r2=960834&view=diff
==============================================================================
--- 
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/HashCodeBuilder.java
 (original)
+++ 
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/HashCodeBuilder.java
 Tue Jul  6 07:36:38 2010
@@ -615,11 +615,16 @@ public class HashCodeBuilder implements 
      * Append a <code>hashCode</code> for a <code>boolean</code>.
      * </p>
      * <p>
-     * This adds <code>1</code> when true, and <code>0</code> when false to 
the <code>hashCode</code> 
-     * and not a <code>1231</code> or
-     * <code>1237</code> as done in java.lang.Boolean (see java.lang.Boolean 
javadoc). This is in 
-     * accordance with the <quote>Effective Java</quote>
-     * design.
+     * This adds <code>1</code> when true, and <code>0</code> when false to 
the <code>hashCode</code>.
+     * </p>
+     * <p>
+     * This is in contrast to the standard 
<code>java.lang.Boolean.hashCode</code> handling, which computes
+     * a <code>hashCode</code> value of <code>1231</code> for 
<code>java.lang.Boolean</code> instances
+     * that represent <code>true</code> or <code>1237</code> for 
<code>java.lang.Boolean</code> instances
+     * that represent <code>false</code>.
+     * </p>
+     * <p>
+     * This is in accordance with the <quote>Effective Java</quote> design.
      * </p>
      * 
      * @param value


Reply via email to