Skip to content

Commit c9d5443

Browse files
author
Gary Gregory
committed
1 parent 3e12833 commit c9d5443

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/org/apache/commons/io/input/ProxyReader.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ public boolean markSupported() {
223223
* @param n number of chars that the caller asked to be read
224224
* @throws IOException if the pre-processing fails
225225
*/
226+
@SuppressWarnings("unused") // Possibly thrown from subclasses.
226227
protected void beforeRead(final int n) throws IOException {
227228
// noop
228229
}
@@ -244,6 +245,7 @@ protected void beforeRead(final int n) throws IOException {
244245
* @param n number of chars read, or -1 if the end of stream was reached
245246
* @throws IOException if the post-processing fails
246247
*/
248+
@SuppressWarnings("unused") // Possibly thrown from subclasses.
247249
protected void afterRead(final int n) throws IOException {
248250
// noop
249251
}

0 commit comments

Comments
 (0)