commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1364507 - /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/zip/ZipFileSystem.java
Date Mon, 23 Jul 2012 06:10:46 GMT
Author: ggregory
Date: Mon Jul 23 06:10:46 2012
New Revision: 1364507

URL: http://svn.apache.org/viewvc?rev=1364507&view=rev
Log:
Make the private org.apache.commons.vfs2.provider.zip.ZipFileSystem.cache final.

Modified:
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/zip/ZipFileSystem.java

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/zip/ZipFileSystem.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/zip/ZipFileSystem.java?rev=1364507&r1=1364506&r2=1364507&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/zip/ZipFileSystem.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/zip/ZipFileSystem.java
Mon Jul 23 06:10:46 2012
@@ -53,7 +53,7 @@ public class ZipFileSystem extends Abstr
     /**
      * Cache doesn't need to be synchronized since it is read-only.
      */
-    private Map<FileName, FileObject> cache = new HashMap<FileName, FileObject>();
+    private final Map<FileName, FileObject> cache = new HashMap<FileName, FileObject>();
 
   public ZipFileSystem(final AbstractFileName rootName,
                          final FileObject parentLayer,



Mime
View raw message