--- jsr166/src/jsr166e/extra/AtomicDouble.java 2013/02/11 06:29:57 1.15 +++ jsr166/src/jsr166e/extra/AtomicDouble.java 2013/03/04 16:09:25 1.17 @@ -19,7 +19,7 @@ import static java.lang.Double.longBitsT * this class does extend {@code Number} to allow uniform access by * tools and utilities that deal with numerically-based classes. * - *
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
@@ -29,7 +29,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 expect the expected value * @param update the new value