jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chet...@apache.org
Subject svn commit: r1589926 - /jackrabbit/trunk/jackrabbit-data/src/main/java/org/apache/jackrabbit/core/data/LocalCache.java
Date Fri, 25 Apr 2014 04:51:59 GMT
Author: chetanm
Date: Fri Apr 25 04:51:59 2014
New Revision: 1589926

URL: http://svn.apache.org/r1589926
Log:
JCR-3772 - Local File cache is not reduced to zero size after specifying in confuguration

Applying patch from Shashank

Modified:
    jackrabbit/trunk/jackrabbit-data/src/main/java/org/apache/jackrabbit/core/data/LocalCache.java

Modified: jackrabbit/trunk/jackrabbit-data/src/main/java/org/apache/jackrabbit/core/data/LocalCache.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-data/src/main/java/org/apache/jackrabbit/core/data/LocalCache.java?rev=1589926&r1=1589925&r2=1589926&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-data/src/main/java/org/apache/jackrabbit/core/data/LocalCache.java
(original)
+++ jackrabbit/trunk/jackrabbit-data/src/main/java/org/apache/jackrabbit/core/data/LocalCache.java
Fri Apr 25 04:51:59 2014
@@ -322,7 +322,7 @@ public class LocalCache {
      * Return true if cache is in purge mode else return false.
      */
     synchronized boolean isInPurgeMode() {
-        return purgeMode || maxSize == 0;
+        return purgeMode;
     }
 
     /**



Mime
View raw message