commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgo...@apache.org
Subject svn commit: r1055961 - /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/SoftRefFilesCache.java
Date Thu, 06 Jan 2011 17:49:12 GMT
Author: rgoers
Date: Thu Jan  6 17:49:12 2011
New Revision: 1055961

URL: http://svn.apache.org/viewvc?rev=1055961&view=rev
Log:
Fix error introduced with synchronization changes

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=1055961&r1=1055960&r2=1055961&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
Thu Jan  6 17:49:12 2011
@@ -268,7 +268,7 @@ public class SoftRefFilesCache extends A
                 }
             }
 
-            if (filesystemCache.size() < 1)
+            if (files.size() < 1)
             {
                 filesystemClose(filesystem);
             }



Mime
View raw message