--- jsr166/src/jsr166e/extra/AtomicDoubleArray.java 2013/02/11 06:29:57 1.7 +++ jsr166/src/jsr166e/extra/AtomicDoubleArray.java 2013/03/04 16:09:25 1.9 @@ -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 @@ -24,7 +24,7 @@ import static java.lang.Double.longBitsT * long xBits = Double.doubleToRawLongBits(x); * long yBits = Double.doubleToRawLongBits(y); * return xBits == yBits; - * }} + * }} * * @author Doug Lea * @author Martin Buchholz @@ -162,11 +162,11 @@ 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