diff options
Diffstat (limited to 'src/main/java/org/apache/commons/lang3/mutable/MutableDouble.java')
-rw-r--r-- | src/main/java/org/apache/commons/lang3/mutable/MutableDouble.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/apache/commons/lang3/mutable/MutableDouble.java b/src/main/java/org/apache/commons/lang3/mutable/MutableDouble.java index d4e352250..ab995c652 100644 --- a/src/main/java/org/apache/commons/lang3/mutable/MutableDouble.java +++ b/src/main/java/org/apache/commons/lang3/mutable/MutableDouble.java @@ -182,11 +182,11 @@ public class MutableDouble extends Number implements Comparable<MutableDouble>, * also has the value {@code true}. However, there are two exceptions: * <ul> * <li>If {@code d1} and {@code d2} both represent {@code Double.NaN}, then the - * {@code equals} method returns {@code true}, even though {@code Double.NaN==Double.NaN} has + * {@code equals} method returns {@code true}, even though {@code Double.NaN == Double.NaN} has * the value {@code false}. * <li>If {@code d1} represents {@code +0.0} while {@code d2} represents {@code -0.0}, * or vice versa, the {@code equal} test has the value {@code false}, even though - * {@code +0.0==-0.0} has the value {@code true}. This allows hashtables to operate properly. + * {@code +0.0 == -0.0} has the value {@code true}. This allows hashtables to operate properly. * </ul> * * @param obj the object to compare with, null returns false |