You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ba...@apache.org on 2004/08/15 04:17:13 UTC

cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang/builder HashCodeBuilder.java

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 @@
   
       /**
        * <p>Append a <code>hashCode</code> for a <code>boolean</code>.</p>
  +     * <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>
        *
        * @param value  the boolean to add to the <code>hashCode</code>
        * @return this
  
  
  

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