@@ -206,7 +206,7 @@ public boolean markSupported() {
206206 /**
207207 * Invokes the delegate's {@link InputStream#read()} method unless the stream is closed.
208208 *
209- * @return the byte read or -1 if the end of stream
209+ * @return the byte read or {@link IOUtils#EOF EOF} if the end of stream
210210 * @throws IOException if an I/O error occurs.
211211 */
212212 @ Override
@@ -229,7 +229,7 @@ public int read() throws IOException {
229229 * Invokes the delegate's {@link InputStream#read(byte[])} method.
230230 *
231231 * @param b the buffer to read the bytes into
232- * @return the number of bytes read or EOF if the end of stream
232+ * @return the number of bytes read or {@link IOUtils# EOF EOF} if the end of stream
233233 * @exception IOException
234234 * <ul>
235235 * <li>If the first byte cannot be read for any reason other than the end of the file,
@@ -256,7 +256,7 @@ public int read(final byte[] b) throws IOException {
256256 * @param b the buffer to read the bytes into
257257 * @param off The start offset
258258 * @param len The number of bytes to read
259- * @return the number of bytes read or -1 if the end of stream
259+ * @return the number of bytes read or {@link IOUtils#EOF EOF} if the end of stream
260260 * @throws IOException if an I/O error occurs.
261261 */
262262 @ Override
@@ -313,11 +313,12 @@ public long skip(final long n) throws IOException {
313313 }
314314
315315 /**
316- * Unwraps this instance by returning the underlying InputStream.
316+ * Unwraps this instance by returning the underlying {@link InputStream} .
317317 * <p>
318- * Use with caution; useful to query the underlying InputStream.
318+ * Use with caution; useful to query the underlying {@link InputStream} .
319319 * </p>
320- * @return the underlying InputStream.
320+ *
321+ * @return the underlying {@link InputStream}.
321322 * @since 2.16.0
322323 */
323324 public InputStream unwrap () {
0 commit comments