jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1328839 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/KernelContentSession.java
Date Sun, 22 Apr 2012 10:49:22 GMT
Author: mduerig
Date: Sun Apr 22 10:49:21 2012
New Revision: 1328839

URL: http://svn.apache.org/viewvc?rev=1328839&view=rev
Log:
OAK-18: Define Oak API 
workspace name can't be null.

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/KernelContentSession.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/KernelContentSession.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/KernelContentSession.java?rev=1328839&r1=1328838&r2=1328839&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/KernelContentSession.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/KernelContentSession.java
Sun Apr 22 10:49:21 2012
@@ -81,9 +81,7 @@ class KernelContentSession implements Co
     
     @Override
     public void refresh() {
-        root = workspaceName == null
-            ? store.getRoot()
-            : store.getRoot().getChildNode(workspaceName);
+        root = store.getRoot().getChildNode(workspaceName);
     }
 
     @Override



Mime
View raw message