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
commit 53d22fd7b75c15b45b8814ab45e65c69e3c880ce Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Wed Dec 27 08:20:37 2023 -0500 Javadoc --- .../org/apache/commons/io/test/ThrowOnCloseInputStream.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/apache/commons/io/test/ThrowOnCloseInputStream.java b/src/test/java/org/apache/commons/io/test/ThrowOnCloseInputStream.java index 5a123796..396e5328 100644 --- a/src/test/java/org/apache/commons/io/test/ThrowOnCloseInputStream.java +++ b/src/test/java/org/apache/commons/io/test/ThrowOnCloseInputStream.java @@ -28,20 +28,26 @@ import org.apache.commons.io.input.ProxyInputStream; public class ThrowOnCloseInputStream extends ProxyInputStream { /** - * Default constructor. + * Constructs a new instance. */ public ThrowOnCloseInputStream() { super(NullInputStream.INSTANCE); } /** + * Constructs a new instance. + * * @param proxy InputStream to delegate to. */ public ThrowOnCloseInputStream(final InputStream proxy) { super(proxy); } - /** @see java.io.InputStream#close() */ + /** + * Always throws IOException. + * + * @see java.io.InputStream#close() + */ @Override public void close() throws IOException { throw new IOException(getClass().getSimpleName() + ".close() called.");