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 fee1d8e536793310d0823a2d1e860628657e292d Author: Gary Gregory <[email protected]> AuthorDate: Fri Jan 31 11:14:04 2025 -0500 Reduce whitespace --- .../org/apache/commons/vfs2/provider/local/GenericFileNameParser.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/local/GenericFileNameParser.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/local/GenericFileNameParser.java index b9377e0d8..a21f28d24 100644 --- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/local/GenericFileNameParser.java +++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/local/GenericFileNameParser.java @@ -60,12 +60,10 @@ public class GenericFileNameParser extends LocalFileNameParser { @Override protected String extractRootPrefix(final String uri, final StringBuilder name) throws FileSystemException { // TODO - this class isn't generic at all. Need to fix this - // Looking for <sep> if (StringUtils.isEmpty(name) || name.charAt(0) != '/') { throw new FileSystemException("vfs.provider.local/not-absolute-file-name.error", uri); } - // do not strip the separator, BUT also return it ... return "/"; }
