diff --git a/src/java/org/apache/commons/lang/mutable/MutableFloat.java b/src/java/org/apache/commons/lang/mutable/MutableFloat.java
index 369dcdb64..f532bae97 100755
--- a/src/java/org/apache/commons/lang/mutable/MutableFloat.java
+++ b/src/java/org/apache/commons/lang/mutable/MutableFloat.java
@@ -23,7 +23,7 @@ import org.apache.commons.lang.math.NumberUtils;
*
* @see Float
* @since 2.1
- * @version $Id: MutableFloat.java,v 1.6 2004/10/08 19:45:46 ggregory Exp $
+ * @version $Id: MutableFloat.java,v 1.7 2004/10/08 21:33:03 scolebourne Exp $
*/
public class MutableFloat extends Number implements Comparable, Mutable {
@@ -163,7 +163,6 @@ public class MutableFloat extends Number implements Comparable, Mutable {
* @param obj
* the object to be compared
* @return true
if the objects are the same; false
otherwise.
- * @throws ClassCastException if the argument is not a MutableFloat
* @see java.lang.Float#floatToIntBits(float)
*/
public boolean equals(Object obj) {
@@ -172,22 +171,6 @@ public class MutableFloat extends Number implements Comparable, Mutable {
}
//-----------------------------------------------------------------------
- /**
- * Checks if this object equals the specified object.
- *
- * The object must be a MutableFloat with the same value to be equal.
- *
- * @param obj
- * the object to compare to
- * @return true if equal
- */
- // public boolean equals(Object obj) {
- // if (obj instanceof MutableFloat) {
- // float other = ((MutableFloat) obj).value;
- // return (Float.floatToIntBits(other) == Float.floatToIntBits(value));
- // }
- // return false;
- // }
/**
* Returns a suitable hashcode for this mutable.
*
diff --git a/src/java/org/apache/commons/lang/mutable/MutableObject.java b/src/java/org/apache/commons/lang/mutable/MutableObject.java
index 016328e3c..a0f7ebbf8 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 @@ import java.io.Serializable;
* A mutable Object
wrapper.
*
* @since 2.1
- * @version $Id: MutableObject.java,v 1.3 2004/10/08 19:45:46 ggregory Exp $
+ * @version $Id: MutableObject.java,v 1.4 2004/10/08 21:33:03 scolebourne Exp $
*/
public class MutableObject implements Mutable, Serializable {
@@ -79,7 +79,6 @@ public class MutableObject implements Mutable, Serializable {
* @param obj
* the object to compare with.
* @return true
if the objects are the same; false
otherwise.
- * @throws ClassCastException if the argument is not a MutableObject
*/
public boolean equals(Object obj) {
if (obj instanceof MutableObject) {