From: Roland Häder Date: Tue, 3 May 2016 08:56:50 +0000 (+0200) Subject: updated more fields X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=30a396ba3804c58df88475c2c6a208ef5f1790b6;p=juser-login-core.git updated more fields --- diff --git a/src/org/mxchange/jusercore/model/user/LoginUser.java b/src/org/mxchange/jusercore/model/user/LoginUser.java index 5bb011f..36f4dd3 100644 --- a/src/org/mxchange/jusercore/model/user/LoginUser.java +++ b/src/org/mxchange/jusercore/model/user/LoginUser.java @@ -186,14 +186,15 @@ public class LoginUser implements User { this.setUserAccountStatus(user.getUserAccountStatus()); this.setUserCreated(user.getUserCreated()); this.setUserLastLocked(user.getUserLastLocked()); + this.setUserUpdated(user.getUserUpdated()); + this.setUserProfileMode(user.getUserProfileMode()); } @Override public boolean equals (final Object object) { if (null == object) { return false; - } - if (this.getClass() != object.getClass()) { + } else if (this.getClass() != object.getClass()) { return false; } @@ -240,7 +241,7 @@ public class LoginUser implements User { } @Override - @SuppressWarnings ("ReturnOfDateField") + @SuppressWarnings ("AssignmentToDateFieldFromParameter") public void setUserCreated (final Calendar userCreated) { this.userCreated = userCreated; }