--- 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;
- * }}
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