jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1176481 - /jackrabbit/sandbox/jackrabbit-mk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/hierarchy/HierarchyEntry.java
Date Tue, 27 Sep 2011 17:27:43 GMT
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;
-    }
-
     //--------------------------------------------------------------------------
 
     /**



Mime
View raw message