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-vfs.git

commit 6e4832c2af51fff4f6f9c1b5802e5579015f0911
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Jul 28 07:00:59 2025 -0400

    No need for these @SuppressWarnings since the whole class is deprecated
---
 .../java/org/apache/commons/vfs2/provider/http4/Http4FileSystem.java    | 2 --
 1 file changed, 2 deletions(-)

diff --git 
a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/http4/Http4FileSystem.java
 
b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/http4/Http4FileSystem.java
index 35f2c41ff..4aa37e385 100644
--- 
a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/http4/Http4FileSystem.java
+++ 
b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/http4/Http4FileSystem.java
@@ -77,13 +77,11 @@ public class Http4FileSystem extends AbstractFileSystem {
         this.httpClientContext = httpClientContext;
     }
 
-    @SuppressWarnings("deprecation")
     @Override
     protected void addCapabilities(final Collection<Capability> caps) {
         caps.addAll(Http4FileProvider.CAPABILITIES);
     }
 
-    @SuppressWarnings("deprecation")
     @Override
     protected FileObject createFile(final AbstractFileName name) throws 
Exception {
         return new Http4FileObject<>(name, this);

Reply via email to