From: Roland Häder Date: Fri, 23 Sep 2022 16:47:04 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3dd319a35cd0ede6e77308c124f7694c1e18d470;p=juser-core.git Continued: - also compare userId entity property Signed-off-by: Roland Häder --- diff --git a/src/org/mxchange/jusercore/model/user/LoginUser.java b/src/org/mxchange/jusercore/model/user/LoginUser.java index 865594e..581babe 100644 --- a/src/org/mxchange/jusercore/model/user/LoginUser.java +++ b/src/org/mxchange/jusercore/model/user/LoginUser.java @@ -261,6 +261,8 @@ public class LoginUser implements User { return false; } else if (!Objects.equals(this.getUserProfileMode(), user.getUserProfileMode())) { return false; + } else if (!Objects.equals(this.getUserId(), user.getUserId())) { + return false; } return true;