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/10/29 16:54:05 UTC

svn commit: r1403389 - /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java

Author: ggregory
Date: Mon Oct 29 15:54:05 2012
New Revision: 1403389

URL: http://svn.apache.org/viewvc?rev=1403389&view=rev
Log:
Use final.

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=1403389&r1=1403388&r2=1403389&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 Mon Oct 29 15:54:05 2012
@@ -998,7 +998,7 @@ public abstract class AbstractFileObject
     public FileObject getChild(final String name) throws FileSystemException
     {
         // TODO - use a hashtable when there are a large number of children
-        FileObject[] children = getChildren();
+        final FileObject[] children = getChildren();
         for (FileObject element : children)
         {
             // final FileObject child = children[i];