Author: imario Date: Sun Nov 6 11:07:33 2005 New Revision: 331142 URL: http://svn.apache.org/viewcvs?rev=331142&view=rev Log: some cleanup
Modified: jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/cache/SoftRefFilesCache.java Modified: jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/cache/SoftRefFilesCache.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/cache/SoftRefFilesCache.java?rev=331142&r1=331141&r2=331142&view=diff ============================================================================== --- jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/cache/SoftRefFilesCache.java (original) +++ jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/cache/SoftRefFilesCache.java Sun Nov 6 11:07:33 2005 @@ -81,8 +81,6 @@ continue; } - FileSystem fsToRemove = null; - FileSystemAndNameKey key = (FileSystemAndNameKey) refReverseMap .get(ref); @@ -90,13 +88,8 @@ { if (removeFile(key)) { - fsToRemove = key.getFileSystem(); + filesystemClose(key.getFileSystem()); } - } - - if (fsToRemove != null) - { - filesystemClose(fsToRemove); } } catch (InterruptedException e) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]