diff --git a/src/java/org/apache/commons/lang/mutable/MutableObject.java b/src/java/org/apache/commons/lang/mutable/MutableObject.java index a0f7ebbf8..66b2bab75 100644 --- a/src/java/org/apache/commons/lang/mutable/MutableObject.java +++ b/src/java/org/apache/commons/lang/mutable/MutableObject.java @@ -22,7 +22,7 @@ * A mutable Object wrapper. * * @since 2.1 - * @version $Id: MutableObject.java,v 1.4 2004/10/08 21:33:03 scolebourne Exp $ + * @version $Id: MutableObject.java,v 1.5 2004/10/08 22:29:33 ggregory Exp $ */ public class MutableObject implements Mutable, Serializable { @@ -33,7 +33,7 @@ public class MutableObject implements Mutable, Serializable { private Object value; /** - * Constructs a new MutableObject with the default value of null. + * Constructs a new MutableObject with the default value of null. */ public MutableObject() { super(); @@ -89,9 +89,9 @@ public boolean equals(Object obj) { } /** - * Returns a suitable hashcode for this mutable. + * Returns the value's hash code or 0 if the value is null. * - * @return a suitable hashcode + * @return the value's hash code or 0 if the value is null. */ public int hashCode() { return (value == null ? 0 : value.hashCode());