]> git.mxchange.org Git - juser-core.git/commitdiff
added missing Serializable + added missing serial number
authorRoland Häder <roland@mxchange.org>
Mon, 3 Apr 2017 12:07:54 +0000 (14:07 +0200)
committerRoland Häder <roland@mxchange.org>
Mon, 3 Apr 2017 12:07:54 +0000 (14:07 +0200)
src/org/mxchange/jusercore/events/user/password_change/UpdatedUserPasswordEvent.java
src/org/mxchange/jusercore/events/user/update/UpdatedUserPersonalDataEvent.java
src/org/mxchange/jusercore/model/user/password_history/UserPasswordHistory.java
src/org/mxchange/jusercore/model/user/profilemodes/ProfileMode.java

index 600e74964070d3a4cea2a3417411a848f3b19e3c..f6888ea58c7ed4e26ad21eeedb329905b7ec1591 100644 (file)
@@ -16,6 +16,7 @@
  */
 package org.mxchange.jusercore.events.user.password_change;
 
+import java.io.Serializable;
 import org.mxchange.jusercore.model.user.password_history.PasswordHistory;
 
 /**
@@ -23,7 +24,7 @@ import org.mxchange.jusercore.model.user.password_history.PasswordHistory;
  * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
-public interface UpdatedUserPasswordEvent {
+public interface UpdatedUserPasswordEvent extends Serializable {
 
        /**
         * Getter for password history entry
index 649952136dee1d0c1303d4d88f3792bf5fb68a8e..9a3207291b6eefa894308954b1814588d392633f 100644 (file)
@@ -16,6 +16,7 @@
  */\r
 package org.mxchange.jusercore.events.user.update;\r
 \r
+import java.io.Serializable;\r
 import org.mxchange.jusercore.model.user.User;\r
 \r
 /**\r
@@ -23,7 +24,7 @@ import org.mxchange.jusercore.model.user.User;
  * <p>\r
  * @author Roland Haeder<roland@mxchange.org>\r
  */\r
-public interface UpdatedUserPersonalDataEvent {\r
+public interface UpdatedUserPersonalDataEvent extends Serializable {\r
 \r
        /**\r
         * Getter for updated user instance\r
index 1cbdef126952bf145a0d565711d688425ec63637..d929575342acc97a8234ebbdeb62c546515ff6d4 100644 (file)
@@ -57,7 +57,7 @@ public class UserPasswordHistory implements PasswordHistory {
         * Serial number
         */
        @Transient
-       private static final long serialVersionUID = 1L;
+       private static final long serialVersionUID = 573_482_374_873_853_710L;
 
        /**
         * Timestamp when this entry has been created
index c71bae70923aa6bf495933a9d1331884e417d5c1..771013886b7bd8905d8cc56c989907fcecdcf4fd 100644 (file)
@@ -62,4 +62,5 @@ public enum ProfileMode implements Serializable {
        public String getMessageKey () {
                return this.messageKey;
        }
+
 }