invert documention on filter method to match behaviour
diff --git a/src/com/google/enterprise/adaptor/fs/AclBuilder.java b/src/com/google/enterprise/adaptor/fs/AclBuilder.java
index d173e19..f2d7952 100644
--- a/src/com/google/enterprise/adaptor/fs/AclBuilder.java
+++ b/src/com/google/enterprise/adaptor/fs/AclBuilder.java
@@ -112,7 +112,7 @@
if (!predicate.apply(entry.flags())) {
continue;
}
- if (filterAclEntry(entry)) {
+ if (filterOutAclEntry(entry)) {
continue;
}
@@ -141,11 +141,11 @@
}
/**
- * Returns true if the provided {@link AclEntry} should be included in an Acl.
+ * Returns true if provided {@link AclEntry} should be excluded from Acl.
*
- * @param entry The AclEntry to checked and added.
+ * @param entry The AclEntry to check.
*/
- private boolean filterAclEntry(AclEntry entry) {
+ private boolean filterOutAclEntry(AclEntry entry) {
String principalName = entry.principal().getName();
if (!isSupportedWindowsAccount(principalName)) {