jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1466111 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/TreeImpl.java
Date Tue, 09 Apr 2013 16:41:47 GMT
Author: mduerig
Date: Tue Apr  9 16:41:47 2013
New Revision: 1466111

URL: http://svn.apache.org/r1466111
Log:
OAK-709: Consider moving permission evaluation to the node state level
fix getPropertyStatus: inline code

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

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/TreeImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/TreeImpl.java?rev=1466111&r1=1466110&r2=1466111&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/TreeImpl.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/TreeImpl.java
Tue Apr  9 16:41:47 2013
@@ -147,8 +147,7 @@ public class TreeImpl implements Tree {
             return null;
         }
 
-        NodeState parentBase = getSecureBase();
-        PropertyState base = parentBase.getProperty(name);
+        PropertyState base = getSecureBase().getProperty(name);
 
         if (base == null) {
             return Status.NEW;



Mime
View raw message