changeset 850:948c504d6ef7

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 0a05a2632a81
children f9cf49b7b248
files src/share/classes/java/io/InputStream.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/io/InputStream.java	Fri Jan 30 22:27:02 2009 +0000
+++ b/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