No need for null check before instanceof
This commit is contained in:
parent
6c5144e323
commit
49dee407c8
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ public class ClaimCacheKey {
|
|||
|
||||
@Override
|
||||
public boolean equals(@Nullable Object obj) {
|
||||
if (obj == null || !(obj instanceof ClaimCacheKey)) {
|
||||
if (!(obj instanceof ClaimCacheKey)) {
|
||||
return false;
|
||||
}
|
||||
ClaimCacheKey key = (ClaimCacheKey) obj;
|
||||
|
|
Loading…
Reference in a new issue