jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1450789 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/privilege/PrivilegeValidator.java
Date Wed, 27 Feb 2013 14:43:57 GMT
Author: angela
Date: Wed Feb 27 14:43:56 2013
New Revision: 1450789

URL: http://svn.apache.org/r1450789
Log:
OAK-64: privilege mgt (remove unused method)

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/privilege/PrivilegeValidator.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/privilege/PrivilegeValidator.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/privilege/PrivilegeValidator.java?rev=1450789&r1=1450788&r2=1450789&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/privilege/PrivilegeValidator.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/privilege/PrivilegeValidator.java
Wed Feb 27 14:43:56 2013
@@ -120,12 +120,6 @@ class PrivilegeValidator implements Priv
         }
     }
 
-    private void validateBits(PrivilegeBits bits, PrivilegeBits expectedNext) throws CommitFailedException
{
-        if (!expectedNext.equals(bits.nextBits())) {
-            throw new CommitFailedException("PrivilegeBits violation: Expected " + expectedNext
+ "; Found" + bits + '.');
-        }
-    }
-
     @Nonnull
     private Tree getPrivilegesTree(Root root) throws CommitFailedException {
         Tree privilegesTree = root.getTree(PRIVILEGES_PATH);



Mime
View raw message