jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1444013 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeBuilder.java
Date Fri, 08 Feb 2013 13:53:16 GMT
Author: mduerig
Date: Fri Feb  8 13:53:16 2013
New Revision: 1444013

URL: http://svn.apache.org/r1444013
Log:
OAK-614: AssertionError in MemoryNodeBuilder
keep revision up to date if disconnected

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeBuilder.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeBuilder.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeBuilder.java?rev=1444013&r1=1444012&r2=1444013&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeBuilder.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeBuilder.java
Fri Feb  8 13:53:16 2013
@@ -211,8 +211,8 @@ public class MemoryNodeBuilder implement
             // ... same for the write state
             writeState = parent.getWriteState(name);
 
-            checkState(baseState != null || writeState != null, "This node is disconnected");
             revision = root.revision;
+            checkState(baseState != null || writeState != null, "This node is disconnected");
         }
 
         assert classInvariants();



Mime
View raw message