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); }