commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1352668 - /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java
Date Thu, 21 Jun 2012 20:20:44 GMT
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);
     }



Mime
View raw message