commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1364487 - /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/SoftRefFilesCache.java
Date Mon, 23 Jul 2012 04:20:08 GMT
Author: ggregory
Date: Mon Jul 23 04:20:08 2012
New Revision: 1364487

URL: http://svn.apache.org/viewvc?rev=1364487&view=rev
Log:
Rename private method filesystemClose(FileSystem) -> close(FileSystem)

Modified:
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/SoftRefFilesCache.java

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/SoftRefFilesCache.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/SoftRefFilesCache.java?rev=1364487&r1=1364486&r2=1364487&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/SoftRefFilesCache.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/SoftRefFilesCache.java
Mon Jul 23 04:20:08 2012
@@ -100,7 +100,7 @@ public class SoftRefFilesCache extends A
                         {
                             if (removeFile(key))
                             {
-                                filesystemClose(key.getFileSystem());
+                                close(key.getFileSystem());
                             }
                         }
                     }
@@ -273,7 +273,7 @@ public class SoftRefFilesCache extends A
 
             if (files.size() < 1)
             {
-                filesystemClose(filesystem);
+                close(filesystem);
             }
         }
         finally
@@ -286,7 +286,7 @@ public class SoftRefFilesCache extends A
      * Called while the lock is held
      * @param filesystem The file system to close.
      */
-    private void filesystemClose(FileSystem filesystem)
+    private void close(FileSystem filesystem)
     {
         if (log.isDebugEnabled())
         {
@@ -329,7 +329,7 @@ public class SoftRefFilesCache extends A
     {
         if (removeFile(new FileSystemAndNameKey(filesystem, name)))
         {
-            filesystemClose(filesystem);
+            close(filesystem);
         }
     }
 



Mime
View raw message