From: Roland Häder Date: Mon, 3 Apr 2017 12:07:54 +0000 (+0200) Subject: added missing Serializable + added missing serial number X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d0828da6ab72cc1be0e8ddabe003c9126edc7972;p=juser-core.git added missing Serializable + added missing serial number --- diff --git a/src/org/mxchange/jusercore/events/user/password_change/UpdatedUserPasswordEvent.java b/src/org/mxchange/jusercore/events/user/password_change/UpdatedUserPasswordEvent.java index 600e749..f6888ea 100644 --- a/src/org/mxchange/jusercore/events/user/password_change/UpdatedUserPasswordEvent.java +++ b/src/org/mxchange/jusercore/events/user/password_change/UpdatedUserPasswordEvent.java @@ -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; *

* @author Roland Haeder */ -public interface UpdatedUserPasswordEvent { +public interface UpdatedUserPasswordEvent extends Serializable { /** * Getter for password history entry diff --git a/src/org/mxchange/jusercore/events/user/update/UpdatedUserPersonalDataEvent.java b/src/org/mxchange/jusercore/events/user/update/UpdatedUserPersonalDataEvent.java index 6499521..9a32072 100644 --- a/src/org/mxchange/jusercore/events/user/update/UpdatedUserPersonalDataEvent.java +++ b/src/org/mxchange/jusercore/events/user/update/UpdatedUserPersonalDataEvent.java @@ -16,6 +16,7 @@ */ package org.mxchange.jusercore.events.user.update; +import java.io.Serializable; import org.mxchange.jusercore.model.user.User; /** @@ -23,7 +24,7 @@ import org.mxchange.jusercore.model.user.User; *

* @author Roland Haeder */ -public interface UpdatedUserPersonalDataEvent { +public interface UpdatedUserPersonalDataEvent extends Serializable { /** * Getter for updated user instance diff --git a/src/org/mxchange/jusercore/model/user/password_history/UserPasswordHistory.java b/src/org/mxchange/jusercore/model/user/password_history/UserPasswordHistory.java index 1cbdef1..d929575 100644 --- a/src/org/mxchange/jusercore/model/user/password_history/UserPasswordHistory.java +++ b/src/org/mxchange/jusercore/model/user/password_history/UserPasswordHistory.java @@ -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 diff --git a/src/org/mxchange/jusercore/model/user/profilemodes/ProfileMode.java b/src/org/mxchange/jusercore/model/user/profilemodes/ProfileMode.java index c71bae7..7710138 100644 --- a/src/org/mxchange/jusercore/model/user/profilemodes/ProfileMode.java +++ b/src/org/mxchange/jusercore/model/user/profilemodes/ProfileMode.java @@ -62,4 +62,5 @@ public enum ProfileMode implements Serializable { public String getMessageKey () { return this.messageKey; } + }