ggregory 2004/11/23 11:15:28
Modified: lang/src/java/org/apache/commons/lang/builder
HashCodeBuilder.java
Log:
Javadoc.
Revision Changes Path
1.24 +2 -8
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.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- HashCodeBuilder.java 30 Sep 2004 06:26:37 -0000 1.23
+++ HashCodeBuilder.java 23 Nov 2004 19:15:28 -0000 1.24
@@ -88,20 +88,15 @@
private int iTotal = 0;
/**
- * <p>Constructor.</p>
- *
- * <p>This constructor uses two hard coded choices for the constants
+ * <p>Uses two hard coded choices for the constants
* needed to build a <code>hashCode</code>.</p>
*/
public HashCodeBuilder() {
- super();
iConstant = 37;
iTotal = 17;
}
/**
- * <p>Constructor.</p>
- *
* <p>Two randomly chosen, non-zero, odd numbers must be passed in.
* Ideally these should be different for each class, however this is
* not vital.</p>
@@ -113,7 +108,6 @@
* @throws IllegalArgumentException if the number is zero or even
*/
public HashCodeBuilder(int initialNonZeroOddNumber, int
multiplierNonZeroOddNumber) {
- super();
if (initialNonZeroOddNumber == 0) {
throw new IllegalArgumentException("HashCodeBuilder requires a
non zero initial value");
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]