]> git.mxchange.org Git - juser-activity-core.git/commitdiff
updated more fields
authorRoland Häder <roland@mxchange.org>
Tue, 3 May 2016 08:56:50 +0000 (10:56 +0200)
committerRoland Häder <roland@mxchange.org>
Tue, 3 May 2016 08:56:50 +0000 (10:56 +0200)
src/org/mxchange/jusercore/model/user/LoginUser.java

index 5bb011f1a53f92f402dd2d428564622ce238fe27..36f4dd37f77feef3881f84751e49c732b4ebc4b0 100644 (file)
@@ -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;
        }