--- jsr166/src/jsr166e/extra/AtomicDoubleArray.java 2013/01/09 02:51:37 1.6 +++ jsr166/src/jsr166e/extra/AtomicDoubleArray.java 2013/03/04 16:12:26 1.10 @@ -14,7 +14,7 @@ import static java.lang.Double.longBitsT * See the {@link java.util.concurrent.atomic} package specification * for description of the properties of atomic variables. * - *

This class compares primitive {@code double} + *

This class compares primitive {@code double} * values in methods such as {@link #compareAndSet} by comparing their * bitwise representation using {@link Double#doubleToRawLongBits}, * which differs from both the primitive double {@code ==} operator @@ -162,11 +162,10 @@ public class AtomicDoubleArray implement * if the current value is bitwise equal * to the expected value. * - *

May - * fail spuriously - * and does not provide ordering guarantees, so is only rarely an - * appropriate alternative to {@code compareAndSet}. + * May fail spuriously and does not provide ordering guarantees, + * so is only rarely an appropriate alternative to {@code compareAndSet}. * * @param i the index * @param expect the expected value