@@ -51,7 +51,7 @@ public ProxyInputStream(final InputStream proxy) {
5151 }
5252
5353 /**
54- * Invoked by the read methods after the proxied call has returned
54+ * Invoked by the {@code read} methods after the proxied call has returned
5555 * successfully. The number of bytes returned to the caller (or -1 if
5656 * the end of stream was reached) is given as an argument.
5757 * <p>
@@ -76,6 +76,7 @@ protected void afterRead(final int n) throws IOException {
7676
7777 /**
7878 * Invokes the delegate's {@code available()} method.
79+ *
7980 * @return the number of available bytes
8081 * @throws IOException if an I/O error occurs.
8182 */
@@ -90,7 +91,7 @@ public int available() throws IOException {
9091 }
9192
9293 /**
93- * Invoked by the read methods before the call is proxied. The number
94+ * Invoked by the {@code read} methods before the call is proxied. The number
9495 * of bytes that the caller wanted to read (1 for the {@link #read()}
9596 * method, buffer length for {@link #read(byte[])}, etc.) is given as
9697 * an argument.
@@ -125,7 +126,7 @@ public void close() throws IOException {
125126 }
126127
127128 /**
128- * Handle any IOExceptions thrown; by default, throws the given exception.
129+ * Handles any IOExceptions thrown; by default, throws the given exception.
129130 * <p>
130131 * This method provides a point to implement custom exception
131132 * handling. The default behavior is to re-throw the exception.
0 commit comments