diff --git a/src/main/java/org/apache/commons/io/input/ProxyInputStream.java b/src/main/java/org/apache/commons/io/input/ProxyInputStream.java index 6b7c68ebb38..098fe39efeb 100644 --- a/src/main/java/org/apache/commons/io/input/ProxyInputStream.java +++ b/src/main/java/org/apache/commons/io/input/ProxyInputStream.java @@ -206,7 +206,7 @@ public boolean markSupported() { /** * Invokes the delegate's {@link InputStream#read()} method unless the stream is closed. * - * @return the byte read or -1 if the end of stream + * @return the byte read or {@link IOUtils#EOF EOF} if the end of stream * @throws IOException if an I/O error occurs. */ @Override @@ -229,7 +229,7 @@ public int read() throws IOException { * Invokes the delegate's {@link InputStream#read(byte[])} method. * * @param b the buffer to read the bytes into - * @return the number of bytes read or EOF if the end of stream + * @return the number of bytes read or {@link IOUtils#EOF EOF} if the end of stream * @exception IOException *