commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Created: (VFS-324) RamFileSystem.close() should clear the cache rather than nulling it
Date Tue, 19 Oct 2010 02:36:26 GMT
RamFileSystem.close() should clear the cache rather than nulling it
-------------------------------------------------------------------

                 Key: VFS-324
                 URL: https://issues.apache.org/jira/browse/VFS-324
             Project: Commons VFS
          Issue Type: Improvement
            Reporter: Sebb


RamFileSystem.close() should probably clear the cache rather than nulling it.

This would allow the field to be made final, as well as avoiding an NPE if any methods using
the cache are invoked after close.

Making the field final would ensure it was published correctly - at present the class is not
thread-safe

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message