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 ad492adf5 Javadoc
ad492adf5 is described below

commit ad492adf5f0070edb87519e94a100b0b07b3bac1
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Mon May 12 12:57:54 2025 -0400

    Javadoc
---
 .../java/org/apache/commons/io/input/ClosedInputStream.java    | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/main/java/org/apache/commons/io/input/ClosedInputStream.java 
b/src/main/java/org/apache/commons/io/input/ClosedInputStream.java
index d46e61b72..d5e2f201f 100644
--- a/src/main/java/org/apache/commons/io/input/ClosedInputStream.java
+++ b/src/main/java/org/apache/commons/io/input/ClosedInputStream.java
@@ -60,16 +60,16 @@ static InputStream ifNull(final InputStream in) {
     }
 
     /**
-     * Construct a new instance.
+     * Constructs a new instance.
      */
     public ClosedInputStream() {
         // empty
     }
 
     /**
-     * Returns -1 to indicate that the stream is closed.
+     * Returns {@code -1} to indicate that the stream is closed.
      *
-     * @return always -1
+     * @return always {@code -1}.
      */
     @Override
     public int read() {
@@ -77,12 +77,12 @@ public int read() {
     }
 
     /**
-     * Returns -1 to indicate that the stream is closed.
+     * Returns {@code -1} to indicate that the stream is closed.
      *
      * @param b ignored.
      * @param off ignored.
      * @param len ignored.
-     * @return always -1
+     * @return always -1.
      */
     @Override
     public int read(final byte[] b, final int off, final int len) throws 
IOException {

Reply via email to