jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1411734 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/OakAuthorizableProperties.java
Date Tue, 20 Nov 2012 16:44:24 GMT
Author: angela
Date: Tue Nov 20 16:44:23 2012
New Revision: 1411734

URL: http://svn.apache.org/viewvc?rev=1411734&view=rev
Log:
OAK-50 : Implement User Management (WIP)

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/OakAuthorizableProperties.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/OakAuthorizableProperties.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/OakAuthorizableProperties.java?rev=1411734&r1=1411733&r2=1411734&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/OakAuthorizableProperties.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/OakAuthorizableProperties.java
Tue Nov 20 16:44:23 2012
@@ -215,8 +215,6 @@ class OakAuthorizableProperties implemen
                 return false;
             }
         return isAuthorizableProperty(authorizableTree, propertyLocation.getProperty());
-
-
     }
 
     private boolean isAuthorizableProperty(Tree authorizableTree, PropertyState property)
{
@@ -264,9 +262,8 @@ class OakAuthorizableProperties implemen
     }
 
     @Nonnull
-    private TreeLocation getLocation(Tree tree, String relativePath) {
-        TreeLocation target = LocationUtil.getTreeLocation(tree.getLocation(), relativePath);
-        return target;
+    private static TreeLocation getLocation(Tree tree, String relativePath) {
+        return LocationUtil.getTreeLocation(tree.getLocation(), relativePath);
     }
 
     private static void checkRelativePath(String relativePath) throws RepositoryException
{
@@ -277,4 +274,4 @@ class OakAuthorizableProperties implemen
             throw new RepositoryException("Relative path expected. Found " + relativePath);
         }
     }
-}
\ No newline at end of file
+}



Mime
View raw message