6799462: Minor typo (wrong word) in JavaDoc for InputStream.read(byte[] b) method
authordarcy
Fri, 30 Jan 2009 15:09:00 -0800
changeset 1942 bdfd8f01987a
parent 1941 207002241ff8
child 1943 d3de53b2070d
6799462: Minor typo (wrong word) in JavaDoc for InputStream.read(byte[] b) method Reviewed-by: sherman, martin
jdk/src/share/classes/java/io/InputStream.java
--- 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