Skip to content

Commit

Permalink
Javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Aug 6, 2024
1 parent 07f1df6 commit 3ee38ba
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions src/main/java/org/apache/commons/io/input/ProxyInputStream.java
Original file line number Diff line number Diff line change
Expand Up @@ -230,12 +230,12 @@ public int read() throws IOException {
*
* @param b the buffer to read the bytes into
* @return the number of bytes read or {@link IOUtils#EOF EOF} if the end of stream
* @exception IOException
* <ul>
* <li>If the first byte cannot be read for any reason other than the end of the file,
* <li>if the input stream has been closed, or</li>
* <li>if some other I/O error occurs.</li>
* </ul>
* @throws IOException
* <ul>
* <li>If the first byte cannot be read for any reason other than the end of the file,
* <li>if the input stream has been closed, or</li>
* <li>if some other I/O error occurs.</li>
* </ul>
*/
@Override
public int read(final byte[] b) throws IOException {
Expand All @@ -253,11 +253,16 @@ public int read(final byte[] b) throws IOException {
/**
* Invokes the delegate's {@link InputStream#read(byte[], int, int)} method.
*
* @param b the buffer to read the bytes into
* @param b the buffer to read the bytes into
* @param off The start offset
* @param len The number of bytes to read
* @return the number of bytes read or {@link IOUtils#EOF EOF} if the end of stream
* @throws IOException if an I/O error occurs.
* @throws IOException
* <ul>
* <li>If the first byte cannot be read for any reason other than the end of the file,
* <li>if the input stream has been closed, or</li>
* <li>if some other I/O error occurs.</li>
* </ul>
*/
@Override
public int read(final byte[] b, final int off, final int len) throws IOException {
Expand Down

0 comments on commit 3ee38ba

Please sign in to comment.