Introduced ACL.lambda convenience method (#3260)

* Introduced ACL.lambda convenience method.

* Javadoc
This commit is contained in:
Jesse Glick authored and Oleg Nenashev committed 2018-02-02 15:56:55 +01:00
1 parent f1fc0f02ed
commit ac05680bb6
4 files changed
+23 -23

No files matched your search

@@ -45,11 +45,7 @@ public class TaskActionTest {
}
protected ACL getACL() {
return new ACL() {
public boolean hasPermission(Authentication a, Permission permission) {
return true;
}
};
return ACL.lambda((a, p) -> true);
}
}