8029483: BufferedReader.lines() javadoc typo should be fixed
authorhenryjen
Tue, 03 Dec 2013 11:37:25 -0800
changeset 21954 df1d668d6e23
parent 21953 3facfc87b92e
child 21955 abc02575919c
8029483: BufferedReader.lines() javadoc typo should be fixed Reviewed-by: mduigou
jdk/src/share/classes/java/io/BufferedReader.java
--- a/jdk/src/share/classes/java/io/BufferedReader.java	Tue Dec 03 10:07:03 2013 -0800
+++ b/jdk/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}