OpenJDK / jdk / jdk
changeset 1942:bdfd8f01987a
6799462: Minor typo (wrong word) in JavaDoc for InputStream.read(byte[] b) method
Reviewed-by: sherman, martin
author | darcy |
---|---|
date | Fri, 30 Jan 2009 15:09:00 -0800 |
parents | 207002241ff8 |
children | d3de53b2070d |
files | jdk/src/share/classes/java/io/InputStream.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/jdk/src/share/classes/java/io/InputStream.java Fri Jan 30 22:27:02 2009 +0000 +++ b/jdk/src/share/classes/java/io/InputStream.java Fri Jan 30 15:09:00 2009 -0800 @@ -90,7 +90,7 @@ * * @param b the buffer into which the data is read. * @return the total number of bytes read into the buffer, or - * <code>-1</code> is there is no more data because the end of + * <code>-1</code> if there is no more data because the end of * the stream has been reached. * @exception IOException If the first byte cannot be read for any reason * other than the end of the file, if the input stream has been closed, or