changeset 8923:1061f4d085b5

8029483: BufferedReader.lines() javadoc typo should be fixed Reviewed-by: mduigou
author henryjen
date Tue, 03 Dec 2013 11:37:25 -0800
parents 1c3d58caa7da
children cd4aabc40f72
files src/share/classes/java/io/BufferedReader.java
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/io/BufferedReader.java	Tue Dec 03 10:07:03 2013 -0800
+++ b/src/share/classes/java/io/BufferedReader.java	Tue Dec 03 11:37:25 2013 -0800
@@ -533,7 +533,7 @@
     /**
      * Returns a {@code Stream}, the elements of which are lines read from
      * this {@code BufferedReader}.  The {@link Stream} is lazily populated,
-     * i.e, read only occurs during the
+     * i.e., read only occurs during the
      * <a href="../util/stream/package-summary.html#StreamOps">terminal
      * stream operation</a>.
      *
@@ -550,8 +550,8 @@
      * UncheckedIOException} which will be thrown from the {@code Stream}
      * 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.
+     * that stream that requires reading from the BufferedReader after it is
+     * closed, will cause an UncheckedIOException to be thrown.
      *
      * @return a {@code Stream<String>} providing the lines of text
      *         described by this {@code BufferedReader}