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 5fe73a47 Normalize Javadoc.
5fe73a47 is described below

commit 5fe73a476796427bc9e097b1f9b6f552b97bf7ba
Author: Gary Gregory <gardgreg...@gmail.com>
AuthorDate: Wed May 11 07:23:33 2022 -0400

    Normalize Javadoc.
---
 src/main/java/org/apache/commons/io/function/IOFunction.java | 2 +-
 src/main/java/org/apache/commons/io/function/IOSupplier.java | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/commons/io/function/IOFunction.java 
b/src/main/java/org/apache/commons/io/function/IOFunction.java
index ab2a337f..be676556 100644
--- a/src/main/java/org/apache/commons/io/function/IOFunction.java
+++ b/src/main/java/org/apache/commons/io/function/IOFunction.java
@@ -125,7 +125,7 @@ public interface IOFunction<T, R> {
      * @param t the function argument
      * @return the function result
      *
-     * @throws IOException if the function throws an IOException
+     * @throws IOException if an I/O error occurs.
      */
     R apply(final T t) throws IOException;
 
diff --git a/src/main/java/org/apache/commons/io/function/IOSupplier.java 
b/src/main/java/org/apache/commons/io/function/IOSupplier.java
index 5dc7dcb7..e5cd5e0d 100644
--- a/src/main/java/org/apache/commons/io/function/IOSupplier.java
+++ b/src/main/java/org/apache/commons/io/function/IOSupplier.java
@@ -33,8 +33,7 @@ public interface IOSupplier<T> {
      * Gets a result.
      *
      * @return a result
-     *
-     * @throws IOException if an IO error occurs whilst supplying the value.
+     * @throws IOException if an I/O error occurs.
      */
     T get() throws IOException;
 }

Reply via email to