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 2012/06/21 22:20:44 UTC
svn commit: r1352668 -
/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java
Author: ggregory
Date: Thu Jun 21 20:20:44 2012
New Revision: 1352668
URL: http://svn.apache.org/viewvc?rev=1352668&view=rev
Log:
Rename private INITIAL_LISTSZ to INITIAL_LIST_SIZE.
Modified:
commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java
Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java?rev=1352668&r1=1352667&r2=1352668&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java Thu Jun 21 20:20:44 2012
@@ -66,7 +66,7 @@ public abstract class AbstractFileObject
// private static final FileObject[] EMPTY_FILE_ARRAY = {};
private static final FileName[] EMPTY_FILE_ARRAY = {};
- private static final int INITIAL_LISTSZ = 5;
+ private static final int INITIAL_LIST_SIZE = 5;
private final AbstractFileName name;
private final AbstractFileSystem fs;
@@ -1896,7 +1896,7 @@ public abstract class AbstractFileObject
{
if (objects == null)
{
- objects = new ArrayList<Object>(INITIAL_LISTSZ);
+ objects = new ArrayList<Object>(INITIAL_LIST_SIZE);
}
objects.add(strongRef);
}