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 8c35e0fd398fc85594b46ceeb6c10e22ed3aea25 Author: Gary Gregory <[email protected]> AuthorDate: Mon Mar 1 23:22:30 2021 -0500 Remove duplicate constant. --- .../java/org/apache/commons/vfs2/provider/AbstractFileObject.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java index 1575149..fab30d3 100644 --- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java +++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java @@ -75,8 +75,6 @@ public abstract class AbstractFileObject<AFS extends AbstractFileSystem> impleme */ public static final int DEFAULT_BUFFER_SIZE = 8192; - private static final FileName[] EMPTY_FILE_ARRAY = {}; - private static final int INITIAL_LIST_SIZE = 5; /** @@ -1110,7 +1108,7 @@ public abstract class AbstractFileObject<AFS extends AbstractFileSystem> impleme throw new FileNotFolderException(fileName); } else if (files.length == 0) { // No children - children = EMPTY_FILE_ARRAY; + children = EMPTY_FILE_NAME_ARRAY; } else { // Create file objects for the children final FileName[] cache = new FileName[files.length];
