jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1098962 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authorization/acl/CachingEntryCollector.java
Date Tue, 03 May 2011 08:22:55 GMT
Author: angela
Date: Tue May  3 08:22:54 2011
New Revision: 1098962

URL: http://svn.apache.org/viewvc?rev=1098962&view=rev
Log:
javadoc

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authorization/acl/CachingEntryCollector.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authorization/acl/CachingEntryCollector.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authorization/acl/CachingEntryCollector.java?rev=1098962&r1=1098961&r2=1098962&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authorization/acl/CachingEntryCollector.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authorization/acl/CachingEntryCollector.java
Tue May  3 08:22:54 2011
@@ -53,7 +53,7 @@ class CachingEntryCollector extends Entr
      *
      * @param systemSession A system session.
      * @param rootID The id of the root node.
-     * @throws RepositoryException
+     * @throws RepositoryException If an error occurs.
      */
     @SuppressWarnings("unchecked")    
     CachingEntryCollector(SessionImpl systemSession, NodeId rootID) throws RepositoryException
{
@@ -150,9 +150,10 @@ class CachingEntryCollector extends Entr
      * Evaluates if the given node is access controlled and holds a non-empty
      * rep:policy child node.
      * 
-     * @param n
-     * @return
-     * @throws RepositoryException
+     * @param n The node to test.
+     * @return true if the specified node is access controlled and holds a
+     * non-empty policy child node.
+     * @throws RepositoryException If an error occurs.
      */
     private static boolean hasEntries(NodeImpl n) throws RepositoryException {
         if (ACLProvider.isAccessControlled(n)) {
@@ -168,8 +169,9 @@ class CachingEntryCollector extends Entr
      * Returns the id of the next access-controlled ancestor if the specified
      * is contained in the cache. Otherwise the method of the super-class is called.
      *
-     * @param nodeId
-     * @return
+     * @param nodeId The id of the node.
+     * @return the id of the next access-controlled ancestor if the specified
+     * is contained in the cache; otherwise the id of the parent.
      * @throws RepositoryException
      * @see EntryCollector#getParentId(org.apache.jackrabbit.core.id.NodeId)
      */



Mime
View raw message