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 8348b4ea Add @SuppressWarnings("resource") 8348b4ea is described below commit 8348b4ea9dc8a87fdc2c2e434b00682a18b910dc Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun May 14 08:59:48 2023 -0400 Add @SuppressWarnings("resource") --- .../compress/compressors/pack200/TempFileCachingStreamBridge.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/apache/commons/compress/compressors/pack200/TempFileCachingStreamBridge.java b/src/main/java/org/apache/commons/compress/compressors/pack200/TempFileCachingStreamBridge.java index 4822921f..644dbf7c 100644 --- a/src/main/java/org/apache/commons/compress/compressors/pack200/TempFileCachingStreamBridge.java +++ b/src/main/java/org/apache/commons/compress/compressors/pack200/TempFileCachingStreamBridge.java @@ -39,6 +39,7 @@ class TempFileCachingStreamBridge extends StreamBridge { out = Files.newOutputStream(f); } + @SuppressWarnings("resource") // Caller closes @Override InputStream getInputView() throws IOException { out.close();