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