[ ] In many javadocs we tell implementers to return something in the case of a failure occurring, when is expected (as per ). If something fails, we want to know why it failed, not some useless result value. The javadocs should be updated so that a is not expected if the given results in a failure.
[ ] In Account#hasPermission and Account#setPermission, clarify that the permissions array must contain at least one item.
[ ] In Account#retrievePermissions, clarify that ALL permissions must be returned, whether or not they are explicitly specified (so default = TriState.UNSPECIFIED)
Resolves part of #155.
Account#hasPermission
andAccount#setPermission
, clarify that thepermissions
array must contain at least one item.Account#retrievePermissions
, clarify that ALL permissions must be returned, whether or not they are explicitly specified (so default =TriState.UNSPECIFIED
)