commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1364504 - /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/SoftRefFilesCache.java
Date Mon, 23 Jul 2012 05:48:21 GMT
Author: ggregory
Date: Mon Jul 23 05:48:21 2012
New Revision: 1364504

URL: http://svn.apache.org/viewvc?rev=1364504&view=rev
Log:
Fix case of refqueue -> refQueue.

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=1364504&r1=1364503&r2=1364504&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
Mon Jul 23 05:48:21 2012
@@ -56,7 +56,7 @@ public class SoftRefFilesCache extends A
           new ConcurrentHashMap<FileSystem, Map<FileName, Reference<FileObject>>>();
     private final Map<Reference<FileObject>, FileSystemAndNameKey> refReverseMap
=
           new HashMap<Reference<FileObject>, FileSystemAndNameKey>(100);
-    private final ReferenceQueue<FileObject> refqueue = new ReferenceQueue<FileObject>();
+    private final ReferenceQueue<FileObject> refQueue = new ReferenceQueue<FileObject>();
 
     private final AtomicReference<SoftRefReleaseThread> softRefReleaseThread =
             new AtomicReference<SoftRefReleaseThread>();
@@ -85,7 +85,7 @@ public class SoftRefFilesCache extends A
             {
                 try
                 {
-                    Reference<?> ref = refqueue.remove(TIMEOUT);
+                    Reference<?> ref = refQueue.remove(TIMEOUT);
                     if (ref == null)
                     {
                         continue;
@@ -166,7 +166,7 @@ public class SoftRefFilesCache extends A
 
         Map<FileName, Reference<FileObject>> files = getOrCreateFilesystemCache(file.getFileSystem());
 
-        Reference<FileObject> ref = createReference(file, refqueue);
+        Reference<FileObject> ref = createReference(file, refQueue);
         FileSystemAndNameKey key = new FileSystemAndNameKey(file.getFileSystem(), file.getName());
 
         lock.lock();
@@ -205,7 +205,7 @@ public class SoftRefFilesCache extends A
 
         Map<FileName, Reference<FileObject>> files = getOrCreateFilesystemCache(file.getFileSystem());
 
-        Reference<FileObject> ref = createReference(file, refqueue);
+        Reference<FileObject> ref = createReference(file, refQueue);
         FileSystemAndNameKey key = new FileSystemAndNameKey(file.getFileSystem(), file.getName());
 
         lock.lock();



Mime
View raw message