From 30a396ba3804c58df88475c2c6a208ef5f1790b6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 3 May 2016 10:56:50 +0200 Subject: [PATCH] updated more fields --- src/org/mxchange/jusercore/model/user/LoginUser.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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; } -- 2.39.5