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 b80ed968113722fc001a25be80e586ac696e916d
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Sat May 3 15:29:45 2025 -0400

    Add @SuppressWarnings
---
 .../java/org/apache/commons/vfs2/provider/http4/Http4FileSystem.java    | 2 ++
 1 file changed, 2 insertions(+)

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 a4e8b08fb..b49797562 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,11 +77,13 @@ 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