fix(registry): add null check to InteractionIdentifier#equals
This commit is contained in:
parent
8a3cde52fd
commit
92540576df
@ -73,7 +73,7 @@ public class InteractionIdentifier {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(Object obj) {
|
public boolean equals(Object obj) {
|
||||||
if (!(obj instanceof InteractionIdentifier))
|
if (obj == null || !(obj instanceof InteractionIdentifier))
|
||||||
return false;
|
return false;
|
||||||
InteractionIdentifier ident = (InteractionIdentifier) obj;
|
InteractionIdentifier ident = (InteractionIdentifier) obj;
|
||||||
if (!type().equals(ident.type()))
|
if (!type().equals(ident.type()))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user