You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by ag...@apache.org on 2006/09/13 00:16:42 UTC

svn commit: r442735 - /incubator/roller/branches/roller_3.0/src/org/apache/roller/util/cache/LRUCacheImpl.java

Author: agilliland
Date: Tue Sep 12 15:16:42 2006
New Revision: 442735

URL: http://svn.apache.org/viewvc?view=rev&rev=442735
Log:
vars for metrics should be protected.


Modified:
    incubator/roller/branches/roller_3.0/src/org/apache/roller/util/cache/LRUCacheImpl.java

Modified: incubator/roller/branches/roller_3.0/src/org/apache/roller/util/cache/LRUCacheImpl.java
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/src/org/apache/roller/util/cache/LRUCacheImpl.java?view=diff&rev=442735&r1=442734&r2=442735
==============================================================================
--- incubator/roller/branches/roller_3.0/src/org/apache/roller/util/cache/LRUCacheImpl.java (original)
+++ incubator/roller/branches/roller_3.0/src/org/apache/roller/util/cache/LRUCacheImpl.java Tue Sep 12 15:16:42 2006
@@ -38,11 +38,11 @@
     private Map cache = null;
     
     // for metrics
-    double hits = 0;
-    double misses = 0;
-    double puts = 0;
-    double removes = 0;
-    Date startTime = new Date();
+    protected double hits = 0;
+    protected double misses = 0;
+    protected double puts = 0;
+    protected double removes = 0;
+    protected Date startTime = new Date();
     
     
     protected LRUCacheImpl(String id) {