jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1444136 - in /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel: KernelNodeBuilder.java KernelNodeState.java KernelRootBuilder.java
Date Fri, 08 Feb 2013 16:50:09 GMT
Author: mduerig
Date: Fri Feb  8 16:50:09 2013
New Revision: 1444136

URL: http://svn.apache.org/r1444136
Log:
OAK-616: Remove KernelRootBuilder and KernelNodeBuilder and replace with MemoryBuilder

Removed:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeBuilder.java
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelRootBuilder.java
Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeState.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeState.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeState.java?rev=1444136&r1=1444135&r2=1444136&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeState.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeState.java
Fri Feb  8 16:50:09 2013
@@ -207,11 +207,7 @@ public final class KernelNodeState exten
 
     @Override
     public NodeBuilder builder() {
-        if ("/".equals(getPath())) {
-            return new KernelRootBuilder(kernel, this);
-        } else {
-            return new MemoryNodeBuilder(this);
-        }
+        return new MemoryNodeBuilder(this);
     }
 
     /**



Mime
View raw message