Remove wrong Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137963 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ad794c4978
commit
b2214a272b
|
@ -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 <code>true</code> if the objects are the same; <code>false</code> 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.
|
||||
* <p>
|
||||
* 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.
|
||||
*
|
||||
|
|
|
@ -22,7 +22,7 @@ import java.io.Serializable;
|
|||
* A mutable <code>Object</code> 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 <code>true</code> if the objects are the same; <code>false</code> otherwise.
|
||||
* @throws ClassCastException if the argument is not a MutableObject
|
||||
*/
|
||||
public boolean equals(Object obj) {
|
||||
if (obj instanceof MutableObject) {
|
||||
|
|
Loading…
Reference in New Issue