--- jsr166/src/jsr166e/extra/AtomicDouble.java 2013/03/04 15:21:23 1.16 +++ jsr166/src/jsr166e/extra/AtomicDouble.java 2013/07/22 16:47:46 1.19 @@ -123,11 +123,10 @@ public class AtomicDouble extends Number * 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 expect the expected value * @param update the new value @@ -213,6 +212,8 @@ public class AtomicDouble extends Number /** * Saves the state to a stream (that is, serializes it). * + * @param s the stream + * @throws java.io.IOException if an I/O error occurs * @serialData The current value is emitted (a {@code double}). */ private void writeObject(java.io.ObjectOutputStream s) @@ -224,6 +225,10 @@ public class AtomicDouble extends Number /** * Reconstitutes the instance from a stream (that is, deserializes it). + * @param s the stream + * @throws ClassNotFoundException if the class of a serialized object + * could not be found + * @throws java.io.IOException if an I/O error occurs */ private void readObject(java.io.ObjectInputStream s) throws java.io.IOException, ClassNotFoundException {