jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r1464652 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/SegmentNodeState.java
Date Thu, 04 Apr 2013 17:46:14 GMT
Author: jukka
Date: Thu Apr  4 17:46:13 2013
New Revision: 1464652

URL: http://svn.apache.org/r1464652
Log:
OAK-709: Consider moving permission evaluation to the node state level

Allow empty node names in getChildNode() for now. I think it would be better if we could explicitly
declare them invalid.

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/SegmentNodeState.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/SegmentNodeState.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/SegmentNodeState.java?rev=1464652&r1=1464651&r2=1464652&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/SegmentNodeState.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/SegmentNodeState.java
Thu Apr  4 17:46:13 2013
@@ -103,7 +103,7 @@ class SegmentNodeState extends AbstractN
 
     @Override @CheckForNull
     public NodeState getChildNode(String name) {
-        checkArgument(!checkNotNull(name).isEmpty());
+        // checkArgument(!checkNotNull(name).isEmpty()); // TODO
         return getTemplate().getChildNode(name, store, recordId);
     }
 



Mime
View raw message