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 41351de623039ae2b1e3cd602138fdab0a961bf7
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sun Jul 21 15:01:49 2024 -0400

    Fix UnnecessaryFullyQualifiedName
---
 .../java/org/apache/commons/vfs2/provider/webdav4/Webdav4FileName.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/commons-vfs2-jackrabbit2/src/main/java/org/apache/commons/vfs2/provider/webdav4/Webdav4FileName.java
 
b/commons-vfs2-jackrabbit2/src/main/java/org/apache/commons/vfs2/provider/webdav4/Webdav4FileName.java
index fc2d6c9f..aeb61e67 100644
--- 
a/commons-vfs2-jackrabbit2/src/main/java/org/apache/commons/vfs2/provider/webdav4/Webdav4FileName.java
+++ 
b/commons-vfs2-jackrabbit2/src/main/java/org/apache/commons/vfs2/provider/webdav4/Webdav4FileName.java
@@ -86,7 +86,7 @@ public class Webdav4FileName extends GenericURLFileName {
         String pathDecoded = getPathDecoded();
 
         if (appendTrailingSlash && getType() == FileType.FOLDER && 
getPath().length() > 1) {
-            pathDecoded += FileName.SEPARATOR;
+            pathDecoded += SEPARATOR;
         }
 
         if (getQueryString() == null || getQueryString().isEmpty()) {

Reply via email to