8029483: BufferedReader.lines() javadoc typo should be fixed

Reviewed-by: mduigou
This commit is contained in:
Henry Jen 2013-12-03 11:37:25 -08:00
parent f6b22b2ae3
commit 6666cb64d6

View File

@ -533,7 +533,7 @@ public class BufferedReader extends Reader {
/**
* 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 @@ public class BufferedReader extends Reader {
* 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}