Avoid magic meaning of Integer.MIN_VALUE during access evaluation
As part of the security review, Julien Tinnes identified the use of
a magic value that controlled whether or not the inherited rules
are to be applied to a project. Using a magic value for security
related things isn't a recommended practice. Replace the magic
meaning of Integer.MIN_VALUE with a boolean, removing the risk that
a RefRight object has used the same magic value.
Change-Id: Iea8359afae62aa74f3b81f16668f83dc5e2f3cb5
Suggested-by: Julien Tinnes
Signed-off-by: Shawn O. Pearce <sop@google.com>
1 file changed