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
commit 54c402005eef15fae45e4a274345f5b80ea0fddc Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sat Nov 4 06:43:09 2023 -0400 Add @SuppressWarnings --- .../apache/commons/compress/archivers/zip/ParallelScatterZipCreator.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/ParallelScatterZipCreator.java b/src/main/java/org/apache/commons/compress/archivers/zip/ParallelScatterZipCreator.java index 90fbaf5c..91a6a633 100644 --- a/src/main/java/org/apache/commons/compress/archivers/zip/ParallelScatterZipCreator.java +++ b/src/main/java/org/apache/commons/compress/archivers/zip/ParallelScatterZipCreator.java @@ -221,6 +221,7 @@ public class ParallelScatterZipCreator { }; } + @SuppressWarnings("resource") // Caller closes private ScatterZipOutputStream createDeferred(final ScatterGatherBackingStoreSupplier scatterGatherBackingStoreSupplier) throws IOException { final ScatterGatherBackingStore bs = scatterGatherBackingStoreSupplier.get();