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
The following commit(s) were added to refs/heads/master by this push: new ccf2f7d Drop old comments. ccf2f7d is described below commit ccf2f7d89c15442092d382e238162566c562f516 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Fri Jul 16 13:23:41 2021 -0400 Drop old comments. --- .../java/org/apache/commons/vfs2/provider/local/LocalFile.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/local/LocalFile.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/local/LocalFile.java index 54e420e..c0cc8b1 100644 --- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/local/LocalFile.java +++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/local/LocalFile.java @@ -140,18 +140,10 @@ public class LocalFile extends AbstractFileObject<LocalFileSystem> { if (!file.exists()) { return FileType.IMAGINARY; } - if (file.isDirectory()) { return FileType.FOLDER; } - - // In doubt, treat an existing file as file - // if (file.isFile()) - // { return FileType.FILE; - // } - - // throw new FileSystemException("vfs.provider.local/get-type.error", file); } /**