You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by md...@apache.org on 2011/09/27 19:27:43 UTC

svn commit: r1176481 - /jackrabbit/sandbox/jackrabbit-mk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/hierarchy/HierarchyEntry.java

Author: mduerig
Date: Tue Sep 27 17:27:43 2011
New Revision: 1176481

URL: http://svn.apache.org/viewvc?rev=1176481&view=rev
Log:
Microkernel based Jackrabbit prototype (WIP)
simplify ItemInfoCache: remove generation and evict on save/refresh completely

Modified:
    jackrabbit/sandbox/jackrabbit-mk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/hierarchy/HierarchyEntry.java

Modified: jackrabbit/sandbox/jackrabbit-mk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/hierarchy/HierarchyEntry.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-mk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/hierarchy/HierarchyEntry.java?rev=1176481&r1=1176480&r2=1176481&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-mk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/hierarchy/HierarchyEntry.java (original)
+++ jackrabbit/sandbox/jackrabbit-mk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/hierarchy/HierarchyEntry.java Tue Sep 27 17:27:43 2011
@@ -510,17 +510,6 @@ public abstract class HierarchyEntry<STA
         internalRemove(false);
     }
 
-    /**
-     * The required generation of this {@code HierarchyEntry} . This is used by the
-     * {@link ItemInfoCache} to determine whether an item info in the cache is up to date or not.
-     * That is whether the generation of the item info in the cache is the same or more recent
-     * as the required generation of this entry.
-     */
-    public long getGeneration() {
-        calculateStatus();
-        return generation;
-    }
-
     //--------------------------------------------------------------------------
 
     /**