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 00796635 Add @SuppressWarnings
00796635 is described below

commit 0079663587cc58d109dc584cb033796847067506
Author: Gary Gregory <[email protected]>
AuthorDate: Wed Nov 8 07:55:32 2023 -0500

    Add @SuppressWarnings
---
 src/test/java/org/apache/commons/io/file/AbstractTempDirTest.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/test/java/org/apache/commons/io/file/AbstractTempDirTest.java 
b/src/test/java/org/apache/commons/io/file/AbstractTempDirTest.java
index 16bd66cc..7e6de1f5 100644
--- a/src/test/java/org/apache/commons/io/file/AbstractTempDirTest.java
+++ b/src/test/java/org/apache/commons/io/file/AbstractTempDirTest.java
@@ -54,6 +54,7 @@ public abstract class AbstractTempDirTest {
     }
 
 
+    @SuppressWarnings("resource") // no FileSystem allocation
     protected final boolean isPosixFilePermissionsSupported() {
         return 
FileSystems.getDefault().supportedFileAttributeViews().contains("posix");
     }

Reply via email to