fix(registry): add null check to InteractionIdentifier#equals

This commit is contained in:
tueem 2025-03-31 10:30:24 +02:00
parent 8a3cde52fd
commit 92540576df
Signed by: tueem
GPG Key ID: 65C8667EC17A88FB

View File

@ -73,7 +73,7 @@ public class InteractionIdentifier {
@Override
public boolean equals(Object obj) {
if (!(obj instanceof InteractionIdentifier))
if (obj == null || !(obj instanceof InteractionIdentifier))
return false;
InteractionIdentifier ident = (InteractionIdentifier) obj;
if (!type().equals(ident.type()))