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 30927730e Add @SuppressWarnings array element
30927730e is described below

commit 30927730eacc049190d9521583c1e82cd0e3b24f
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Fri May 24 10:25:36 2024 -0400

    Add @SuppressWarnings array element
---
 src/main/java/org/apache/commons/io/function/IOStream.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/io/function/IOStream.java 
b/src/main/java/org/apache/commons/io/function/IOStream.java
index 87333016d..8b33b7187 100644
--- a/src/main/java/org/apache/commons/io/function/IOStream.java
+++ b/src/main/java/org/apache/commons/io/function/IOStream.java
@@ -263,7 +263,7 @@ public interface IOStream<T> extends IOBaseStream<T, 
IOStream<T>, Stream<T>> {
      * @return Like {@link Stream#flatMap(java.util.function.Function)}.
      * @throws IOException if an I/O error occurs.
      */
-    @SuppressWarnings({ "unused", "resource" }) // thrown by Erase; resourcce 
closed by caller.
+    @SuppressWarnings({ "unused", "resource" }) // thrown by Erase; resource 
closed by caller.
     default <R> IOStream<R> flatMap(final IOFunction<? super T, ? extends 
IOStream<? extends R>> mapper) throws IOException {
         return adapt(unwrap().flatMap(t -> Erase.apply(mapper, t).unwrap()));
     }

Reply via email to