From d0828da6ab72cc1be0e8ddabe003c9126edc7972 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 3 Apr 2017 14:07:54 +0200 Subject: [PATCH] added missing Serializable + added missing serial number --- .../events/user/password_change/UpdatedUserPasswordEvent.java | 3 ++- .../events/user/update/UpdatedUserPersonalDataEvent.java | 3 ++- .../model/user/password_history/UserPasswordHistory.java | 2 +- .../jusercore/model/user/profilemodes/ProfileMode.java | 1 + 4 files changed, 6 insertions(+), 3 deletions(-) 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; } + } -- 2.39.5