Skip to content

Commit

Permalink
common: fix NPE in AbstractUidPrincipal#equals
Browse files Browse the repository at this point in the history
fixes commit 410762e

Fixes: #7325
Acked-by: Paul Millar
acked-by: Albert Rossi
Target: master
Require-book: no
Require-notes: no
  • Loading branch information
kofemann committed Aug 29, 2023
1 parent 2b83b2c commit 8c92f2c
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ public boolean equals(Object other) {
if (this == other) {
return true;
}

if (other == null) {
return false;
}

if (!(this.getClass().equals(other.getClass()))) {
return false;
}
Expand Down

0 comments on commit 8c92f2c

Please sign in to comment.