You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/02/04 19:36:20 UTC

(commons-vfs) 04/26: Remove redundant parens

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 19d64d3171d783e29db69076d43d370e3184b005
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Feb 4 14:25:43 2024 -0500

    Remove redundant parens
---
 .../java/org/apache/commons/vfs2/impl/DefaultFileSystemManager.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/impl/DefaultFileSystemManager.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/impl/DefaultFileSystemManager.java
index d1663674..dd6e5e0a 100644
--- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/impl/DefaultFileSystemManager.java
+++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/impl/DefaultFileSystemManager.java
@@ -927,7 +927,7 @@ public class DefaultFileSystemManager implements FileSystemManager {
         // Reappend the removed trailing / in case of a FOLDER, so that the following calls to
         // 'provider.parseUri(realBase, fullPath)' can determine the correct FileType
         // otherwise the resulting FileType is always fileType.FILE
-        final String trailingPathPart = (fileType == FileType.FOLDER) ? FileName.SEPARATOR : "";
+        final String trailingPathPart = fileType == FileType.FOLDER ? FileName.SEPARATOR : "";
 
         final String fullPath;
         if (scheme != null) {