You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by an...@apache.org on 2012/11/20 17:44:24 UTC
svn commit: r1411734 -
/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/OakAuthorizableProperties.java
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
+}