--- jsr166/src/main/java/util/ArrayDeque.java 2013/03/27 23:09:34 1.54 +++ jsr166/src/main/java/util/ArrayDeque.java 2013/07/18 18:21:22 1.57 @@ -7,7 +7,6 @@ package java.util; import java.io.Serializable; import java.util.function.Consumer; import java.util.stream.Stream; -import java.util.stream.Streams; /** * Resizable-array implementation of the {@link Deque} interface. Array @@ -811,6 +810,8 @@ public class ArrayDeque extends Abstr /** * Saves this deque to a stream (that is, serializes it). * + * @param s the stream + * @throws java.io.IOException if an I/O error occurs * @serialData The current size ({@code int}) of the deque, * followed by all of its elements (each an object reference) in * first-to-last order. @@ -830,6 +831,10 @@ public class ArrayDeque extends Abstr /** * Reconstitutes this deque 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 {