From 82b15672f3d7304e80f951a9bd23e4a98b9540a1 Mon Sep 17 00:00:00 2001 From: Joe Darcy Date: Fri, 30 Jan 2009 15:09:00 -0800 Subject: [PATCH] 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jdk/src/share/classes/java/io/InputStream.java b/jdk/src/share/classes/java/io/InputStream.java index 12da2bc9397..86922fe8b10 100644 --- a/jdk/src/share/classes/java/io/InputStream.java +++ b/jdk/src/share/classes/java/io/InputStream.java @@ -90,7 +90,7 @@ public abstract class InputStream implements Closeable { * * @param b the buffer into which the data is read. * @return the total number of bytes read into the buffer, or - * -1 is there is no more data because the end of + * -1 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