Fix inifinite recursion in RefControl.isOwner

I accidentally inverted the logic when I changed this line.
Shame on me.

Change-Id: I6d8225fbfb663074f8a5d7c4e90e72b47eff066c
Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
Shawn O. Pearce
2010-07-15 10:24:50 -07:00
parent 993ddfb847
commit 6d0580cb4a

View File

@@ -106,7 +106,7 @@ public class RefControl {
// calls us to find out if there is ownership of all references in
// order to determine project level ownership.
//
if (getRefName().equals(
if (!getRefName().equals(
RefRight.ALL.substring(0, RefRight.ALL.length() - 1))
&& getProjectControl().isOwner()) {
return true;