jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1298894 - /jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/state/TransientNodeState.java
Date Fri, 09 Mar 2012 15:58:01 GMT
Author: mduerig
Date: Fri Mar  9 15:58:01 2012
New Revision: 1298894

URL: http://svn.apache.org/viewvc?rev=1298894&view=rev
Log:
Microkernel based prototype of JCR implementation (WIP)
- comment

Modified:
    jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/state/TransientNodeState.java

Modified: jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/state/TransientNodeState.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/state/TransientNodeState.java?rev=1298894&r1=1298893&r2=1298894&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/state/TransientNodeState.java
(original)
+++ jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/state/TransientNodeState.java
Fri Mar  9 15:58:01 2012
@@ -55,6 +55,8 @@ public class TransientNodeState {
 
             @Override
             public NodeDelta get() {
+                // todo: return cached value as long as session is on the same revision
+                // that is, as long as neither a refresh nor a save has occured.
                 nd = getTransientSpace().getNodeDelta(nd.getPath());
                 return nd;
             }



Mime
View raw message