This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git


The following commit(s) were added to refs/heads/master by this push:
     new bbc4283  Remove @SuppressWarnings no longer applicable.
bbc4283 is described below

commit bbc42830e58e706c7d99315f8e2620ca57ef51e7
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sat Jul 10 10:05:52 2021 -0400

    Remove @SuppressWarnings no longer applicable.
---
 src/main/java/org/apache/commons/io/input/ProxyReader.java | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/main/java/org/apache/commons/io/input/ProxyReader.java 
b/src/main/java/org/apache/commons/io/input/ProxyReader.java
index 8ed16ae..6f1eb19 100644
--- a/src/main/java/org/apache/commons/io/input/ProxyReader.java
+++ b/src/main/java/org/apache/commons/io/input/ProxyReader.java
@@ -223,7 +223,6 @@ public abstract class ProxyReader extends FilterReader {
      * @param n number of chars that the caller asked to be read
      * @throws IOException if the pre-processing fails
      */
-    @SuppressWarnings("unused") // Possibly thrown from subclasses.
     protected void beforeRead(final int n) throws IOException {
         // noop
     }
@@ -245,7 +244,6 @@ public abstract class ProxyReader extends FilterReader {
      * @param n number of chars read, or -1 if the end of stream was reached
      * @throws IOException if the post-processing fails
      */
-    @SuppressWarnings("unused") // Possibly thrown from subclasses.
     protected void afterRead(final int n) throws IOException {
         // noop
     }

Reply via email to