You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by an...@apache.org on 2011/04/28 18:47:25 UTC
svn commit: r1097542 -
/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authorization/acl/CachingEntryCollector.java
Author: angela
Date: Thu Apr 28 16:47:25 2011
New Revision: 1097542
URL: http://svn.apache.org/viewvc?rev=1097542&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=1097542&r1=1097541&r2=1097542&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 Thu Apr 28 16:47:25 2011
@@ -49,9 +49,10 @@ class CachingEntryCollector extends Entr
private final Object monitor = new Object();
/**
- *
- * @param systemSession
- * @param rootID
+ * Create a new instance.
+ *
+ * @param systemSession A system session.
+ * @param rootID The id of the root node.
* @throws RepositoryException
*/
@SuppressWarnings("unchecked")
@@ -109,10 +110,12 @@ class CachingEntryCollector extends Entr
}
/**
+ * Read the entries defined for the specified node and update the cache
+ * accordingly.
*
- * @param node
- * @return
- * @throws RepositoryException
+ * @param node The target node
+ * @return The list of entries present on the specified node or an empty list.
+ * @throws RepositoryException If an error occurs.
*/
private List<AccessControlEntry> updateCache(NodeImpl node) throws RepositoryException {
List<AccessControlEntry> entries = super.getEntries(node);