File tree Expand file tree Collapse file tree
src/main/java/org/apache/commons/io/input Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,8 +66,8 @@ public ProxyInputStream(final InputStream proxy) {
6666 * </p>
6767 *
6868 * @since 2.0
69- * @param n number of bytes read, or -1 if the end of stream was reached
70- * @throws IOException if the post-processing fails
69+ * @param n number of bytes read, or -1 if the end of stream was reached.
70+ * @throws IOException if the post-processing fails in a subclass.
7171 */
7272 @ SuppressWarnings ("unused" ) // Possibly thrown from subclasses.
7373 protected void afterRead (final int n ) throws IOException {
@@ -107,8 +107,8 @@ public int available() throws IOException {
107107 * </p>
108108 *
109109 * @since 2.0
110- * @param n number of bytes that the caller asked to be read
111- * @throws IOException if the pre-processing fails
110+ * @param n number of bytes that the caller asked to be read.
111+ * @throws IOException if the pre-processing fails in a subclass.
112112 */
113113 @ SuppressWarnings ("unused" ) // Possibly thrown from subclasses.
114114 protected void beforeRead (final int n ) throws IOException {
You can’t perform that action at this time.
0 commit comments