jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r1166206 - in /jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/mem: MemoryKernelImpl.java Revision.java
Date Wed, 07 Sep 2011 14:51:54 GMT
Author: stefan
Date: Wed Sep  7 14:51:54 2011
New Revision: 1166206

URL: http://svn.apache.org/viewvc?rev=1166206&view=rev
Log:
fixing compilation errors

Modified:
    jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/mem/MemoryKernelImpl.java
    jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/mem/Revision.java

Modified: jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/mem/MemoryKernelImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/mem/MemoryKernelImpl.java?rev=1166206&r1=1166205&r2=1166206&view=diff
==============================================================================
--- jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/mem/MemoryKernelImpl.java
(original)
+++ jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/mem/MemoryKernelImpl.java
Wed Sep  7 14:51:54 2011
@@ -26,7 +26,7 @@ import org.apache.jackrabbit.mk.util.Com
 import org.apache.jackrabbit.mk.util.ExceptionFactory;
 import org.apache.jackrabbit.mk.util.NonDescendingClock;
 import org.apache.jackrabbit.mk.util.PathUtils;
-import org.apache.jackrabbit.mk.util.SmallLRUCache;
+import org.apache.jackrabbit.mk.util.SimpleLRUCache;
 
 import java.io.InputStream;
 import java.util.ArrayList;
@@ -66,7 +66,7 @@ public class MemoryKernelImpl implements
     private final AbstractBlobStore ds;
     private final NonDescendingClock clock = new NonDescendingClock(System.currentTimeMillis());
     private final CommitGate gate = new CommitGate();
-    private final SmallLRUCache<Long, Revision> revisionCache = SmallLRUCache.newInstance(1000);
+    private final SimpleLRUCache<Long, Revision> revisionCache = SimpleLRUCache.newInstance(1000);
     private long headRevId;
     private NodeMap nodeMap;
     private String lastJournalRevRange, lastJournal;

Modified: jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/mem/Revision.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/mem/Revision.java?rev=1166206&r1=1166205&r2=1166206&view=diff
==============================================================================
--- jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/mem/Revision.java
(original)
+++ jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/mem/Revision.java
Wed Sep  7 14:51:54 2011
@@ -18,7 +18,7 @@ package org.apache.jackrabbit.mk.mem;
 
 import org.apache.jackrabbit.mk.json.JsopBuilder;
 import org.apache.jackrabbit.mk.json.JsopTokenizer;
-import org.apache.jackrabbit.mk.util.SmallLRUCache;
+import org.apache.jackrabbit.mk.util.SimpleLRUCache;
 
 /**
  * A revision, including pointer to the root node of that revision.
@@ -44,7 +44,7 @@ public class Revision implements Compara
         time = Long.parseLong(node.getProperty("time"));
     }
 
-    static Revision get(SmallLRUCache<Long, Revision>cache, NodeImpl node) {
+    static Revision get(SimpleLRUCache<Long, Revision>cache, NodeImpl node) {
         String rev = node.getProperty("rev");
         if (rev == null) {
             return null;



Mime
View raw message