jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1463996 - /jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/core/TreeLocationTest.java
Date Wed, 03 Apr 2013 13:24:18 GMT
Author: mduerig
Date: Wed Apr  3 13:24:17 2013
New Revision: 1463996

URL: http://svn.apache.org/r1463996
Log:
OAK-690: Enforce and clarify Root contract wrt. invalid Tree instances
no need anymore to re-acquire root

Modified:
    jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/core/TreeLocationTest.java

Modified: jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/core/TreeLocationTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/core/TreeLocationTest.java?rev=1463996&r1=1463995&r2=1463996&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/core/TreeLocationTest.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/core/TreeLocationTest.java
Wed Apr  3 13:24:17 2013
@@ -52,9 +52,6 @@ public class TreeLocationTest extends Oa
         tree.addChild("y");
         tree.addChild("z").addChild("1").addChild("2").setProperty("p", "v");
         root.commit();
-
-        // Acquire a fresh new root to avoid problems from lingering state
-        root = session.getLatestRoot();
     }
 
     @After



Mime
View raw message