You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/05/17 14:20:09 UTC
(commons-compress) branch master updated: Add @SuppressWarnings
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-compress.git
The following commit(s) were added to refs/heads/master by this push:
new d633bcd7b Add @SuppressWarnings
d633bcd7b is described below
commit d633bcd7b67b6c8e656406ed10634d266c655e2c
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri May 17 10:20:04 2024 -0400
Add @SuppressWarnings
---
.../org/apache/commons/compress/archivers/ArchiveStreamFactoryTest.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/test/java/org/apache/commons/compress/archivers/ArchiveStreamFactoryTest.java b/src/test/java/org/apache/commons/compress/archivers/ArchiveStreamFactoryTest.java
index 65f879364..bd4edb84c 100644
--- a/src/test/java/org/apache/commons/compress/archivers/ArchiveStreamFactoryTest.java
+++ b/src/test/java/org/apache/commons/compress/archivers/ArchiveStreamFactoryTest.java
@@ -197,6 +197,7 @@ public class ArchiveStreamFactoryTest extends AbstractTest {
}
}
+ @SuppressWarnings("resource") // Caller closes
public static Stream<Path> getIcoPathStream() throws IOException {
return Files.walk(Paths.get("src/test/resources/org/apache/commons/compress/ico")).filter(Files::isRegularFile);
}