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 dda61a90 Remove unnecessary @SuppressWarnings("unchecked") dda61a90 is described below commit dda61a905a90d2c4992cfa3f3b296d6a767206f5 Author: Gary Gregory <gardgreg...@gmail.com> AuthorDate: Tue May 10 13:58:41 2022 -0400 Remove unnecessary @SuppressWarnings("unchecked") --- src/main/java/org/apache/commons/io/input/ProxyInputStream.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/apache/commons/io/input/ProxyInputStream.java b/src/main/java/org/apache/commons/io/input/ProxyInputStream.java index b1b8ec50..4344cba3 100644 --- a/src/main/java/org/apache/commons/io/input/ProxyInputStream.java +++ b/src/main/java/org/apache/commons/io/input/ProxyInputStream.java @@ -58,11 +58,12 @@ public abstract class ProxyInputStream extends FilterInputStream { * Subclasses can override this method to add common post-processing * functionality without having to override all the read methods. * The default implementation does nothing. + * </p> * <p> * Note this method is <em>not</em> called from {@link #skip(long)} or * {@link #reset()}. You need to explicitly override those methods if * you want to add post-processing steps also to them. - * + * </p> * @since 2.0 * @param n number of bytes read, or -1 if the end of stream was reached * @throws IOException if the post-processing fails @@ -96,11 +97,12 @@ public abstract class ProxyInputStream extends FilterInputStream { * Subclasses can override this method to add common pre-processing * functionality without having to override all the read methods. * The default implementation does nothing. + * </p> * <p> * Note this method is <em>not</em> called from {@link #skip(long)} or * {@link #reset()}. You need to explicitly override those methods if * you want to add pre-processing steps also to them. - * + * </p> * @since 2.0 * @param n number of bytes that the caller asked to be read * @throws IOException if the pre-processing fails @@ -120,10 +122,11 @@ public abstract class ProxyInputStream extends FilterInputStream { } /** - * Handle any IOExceptions thrown. + * Handle any IOExceptions thrown; by default, throws the given exception. * <p> * This method provides a point to implement custom exception * handling. The default behavior is to re-throw the exception. + * </p> * @param e The IOException thrown * @throws IOException if an I/O error occurs. * @since 2.0