Merge "Fix call to equals that could never succeed." into nyc-dev am: 748620e9f0
am: e3cac08ec6
* commit 'e3cac08ec62973b1d92c7f02ea291eb96f4fe93a':
Fix call to equals that could never succeed.
Change-Id: I5fa03a7d9cfa6e3c8ef2feb04838df3023b7aaae
This commit is contained in:
@@ -701,8 +701,8 @@ public class RestrictedLockUtils {
|
||||
if (userId != other.userId) {
|
||||
return false;
|
||||
}
|
||||
if ((component == null && other == null) ||
|
||||
(component != null && component.equals(other))) {
|
||||
if ((component == null && other.component == null) ||
|
||||
(component != null && component.equals(other.component))) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user