jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1324691 - in /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak: api/TransientNodeState.java kernel/KernelNodeStateEditor.java kernel/TransientKernelNodeState.java
Date Wed, 11 Apr 2012 10:42:51 GMT
Author: mduerig
Date: Wed Apr 11 10:42:51 2012
New Revision: 1324691

URL: http://svn.apache.org/viewvc?rev=1324691&view=rev
Log:
OAK-18: Define Oak API 
remove references to implementation classes from TransientNodeState

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/TransientNodeState.java
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStateEditor.java
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/TransientKernelNodeState.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/TransientNodeState.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/TransientNodeState.java?rev=1324691&r1=1324690&r2=1324691&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/TransientNodeState.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/TransientNodeState.java
Wed Apr 11 10:42:51 2012
@@ -1,8 +1,5 @@
 package org.apache.jackrabbit.oak.api;
 
-import org.apache.jackrabbit.oak.kernel.KernelNodeStateEditor;
-import org.apache.jackrabbit.oak.kernel.TransientKernelNodeState;
-
 /**
  * A transient node state represents a node being edited. All edit operations are
  * done through an associated {@link org.apache.jackrabbit.oak.api.NodeStateEditor}.
@@ -34,7 +31,7 @@ public interface TransientNodeState {
     /**
      * @return  editor acting upon this instance
      */
-    KernelNodeStateEditor getEditor();
+    NodeStateEditor getEditor();
 
     /**
      * Get a property state
@@ -64,7 +61,7 @@ public interface TransientNodeState {
      * @return  the child node state with the given {@code name} or {@code null}
      *          if no such child node state exists.
      */
-    TransientKernelNodeState getChildNode(String name);
+    TransientNodeState getChildNode(String name);
 
     /**
      * Determine if a child node state exists

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStateEditor.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStateEditor.java?rev=1324691&r1=1324690&r2=1324691&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStateEditor.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStateEditor.java
Wed Apr 11 10:42:51 2012
@@ -156,7 +156,7 @@ public class KernelNodeStateEditor imple
 
     @Override
     public KernelNodeStateEditor edit(String name) {
-        TransientNodeState childState = transientState.getChildNode(name);
+        TransientKernelNodeState childState = transientState.getChildNode(name);
         return childState == null
             ? null
             : childState.getEditor();

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/TransientKernelNodeState.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/TransientKernelNodeState.java?rev=1324691&r1=1324690&r2=1324691&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/TransientKernelNodeState.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/TransientKernelNodeState.java
Wed Apr 11 10:42:51 2012
@@ -119,7 +119,7 @@ public class TransientKernelNodeState im
      * @param parent  parent of the copied state
      * @param name  name of the copied state
      */
-    private TransientKernelNodeState(TransientKernelNodeState state, TransientNodeState parent,
+    private TransientKernelNodeState(TransientKernelNodeState state, TransientKernelNodeState
parent,
             String name) {
 
         editor = new KernelNodeStateEditor(parent.getEditor(), this);



Mime
View raw message