jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1306361 - /jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/state/TransientNodeState.java
Date Wed, 28 Mar 2012 14:16:02 GMT
Author: angela
Date: Wed Mar 28 14:16:02 2012
New Revision: 1306361

URL: http://svn.apache.org/viewvc?rev=1306361&view=rev
Log:
fix indention and add TODO (direct usage of MK to get persistent node state)

Modified:
    jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/state/TransientNodeState.java

Modified: jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/state/TransientNodeState.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/state/TransientNodeState.java?rev=1306361&r1=1306360&r2=1306361&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/state/TransientNodeState.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/state/TransientNodeState.java
Wed Mar 28 14:16:02 2012
@@ -330,8 +330,8 @@ public class TransientNodeState {
             revision = baseRevision;
             if (path == null) {
                 persistentNodeState = EmptyNodeState.INSTANCE;
-            }
-            else {
+            } else {
+                // TODO: use oak-api here in order to avoid reading directly from MK
                 persistentNodeState = new KernelNodeState(sessionContext.getMicrokernel(),
path.toMkPath(), revision);
             }
         }



Mime
View raw message