changeset 8456:aba60ef63ee2

javadoc feedback
author henryjen
date Thu, 02 May 2013 07:51:41 -0700
parents 55b9e8dba72b
children 8be9094c8fd8
files src/share/classes/java/io/BufferedReader.java
diffstat 1 files changed, 7 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/io/BufferedReader.java	Wed May 01 18:30:38 2013 -0400
+++ b/src/share/classes/java/io/BufferedReader.java	Thu May 02 07:51:41 2013 -0700
@@ -537,23 +537,21 @@
      * <a href="../util/stream/package-summary.html#StreamOps">terminal
      * stream operation</a>.
      *
-     * <p>The reader must not be operated on during the execution of the
+     * <p> The reader must not be operated on during the execution of the
      * terminal stream operation. Otherwise, the result of the terminal stream
      * operation is undefined.
      *
-     * <p>After execution of the terminal stream operation there are no
+     * <p> After execution of the terminal stream operation there are no
      * guarantees that the reader will be at a specific position from which to
      * read the next character or line.
      *
-     * <p>If an {@link IOException} is thrown when accessing the underlying
+     * <p> If an {@link IOException} is thrown when accessing the underlying
      * {@code BufferedReader}, it is wrapped in an {@link
      * UncheckedIOException} which will be thrown from the {@code Stream}
-     * method that caused the read to take place. For example, when trying to
-     * read from the {@code Stream} after the {@code BufferedReader} is
-     * closed, will throw an {@code UncheckedIOException}. Note that This
-     * method will return the {@code Stream} even if this {@code
-     * BufferedReader} is closed, but the operation cause reading will throw
-     * {@code UncheckedIOException}.
+     * method that caused the read to take place. This method will return a
+     * Stream if invoked on a BufferedReader that is closed. Any operation on
+     * that stream requires reading from the BufferedReader after is it closed
+     * will cause an UncheckedIOException to be thrown.
      *
      * @return a {@code Stream<String>} providing the lines of text
      *         described by this {@code BufferedReader}