From 1fb164198474f214c16a1b57e5bd88517658a6ec Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 19 Oct 2020 23:58:28 +0300 Subject: Revert "serialVersionUID for all Serializable classes" This reverts commit af94a01336a8ec2c44a220548bb9ab409976b69d. --- .../com/juick/service/component/AccountVerificationEvent.java | 4 ---- src/main/java/com/juick/service/component/DisconnectedEvent.java | 8 +------- .../java/com/juick/service/component/MailVerificationEvent.java | 4 ---- src/main/java/com/juick/service/component/PingEvent.java | 4 ---- src/main/java/com/juick/service/component/SystemEvent.java | 4 ---- src/main/java/com/juick/service/component/UserUpdatedEvent.java | 4 ---- 6 files changed, 1 insertion(+), 27 deletions(-) (limited to 'src/main/java/com/juick/service/component') diff --git a/src/main/java/com/juick/service/component/AccountVerificationEvent.java b/src/main/java/com/juick/service/component/AccountVerificationEvent.java index 640a3a1b..89b2bfca 100644 --- a/src/main/java/com/juick/service/component/AccountVerificationEvent.java +++ b/src/main/java/com/juick/service/component/AccountVerificationEvent.java @@ -20,10 +20,6 @@ package com.juick.service.component; import org.springframework.context.ApplicationEvent; public class AccountVerificationEvent extends ApplicationEvent { - /** - * - */ - private static final long serialVersionUID = -4861598213948653079L; private final String email; private final String code; /** diff --git a/src/main/java/com/juick/service/component/DisconnectedEvent.java b/src/main/java/com/juick/service/component/DisconnectedEvent.java index 62a14faa..4f856efa 100644 --- a/src/main/java/com/juick/service/component/DisconnectedEvent.java +++ b/src/main/java/com/juick/service/component/DisconnectedEvent.java @@ -20,16 +20,10 @@ package com.juick.service.component; import org.springframework.context.ApplicationEvent; public class DisconnectedEvent extends ApplicationEvent { - /** - * - */ - private static final long serialVersionUID = -695682307925763191L; - /** * Create a new ApplicationEvent. * - * @param source the object on which the event initially occurred (never - * {@code null}) + * @param source the object on which the event initially occurred (never {@code null}) */ public DisconnectedEvent(Object source) { super(source); diff --git a/src/main/java/com/juick/service/component/MailVerificationEvent.java b/src/main/java/com/juick/service/component/MailVerificationEvent.java index 098595c4..0d992159 100644 --- a/src/main/java/com/juick/service/component/MailVerificationEvent.java +++ b/src/main/java/com/juick/service/component/MailVerificationEvent.java @@ -20,10 +20,6 @@ package com.juick.service.component; import org.springframework.context.ApplicationEvent; public class MailVerificationEvent extends ApplicationEvent { - /** - * - */ - private static final long serialVersionUID = 8257057798323708656L; private final String email; private final String code; /** diff --git a/src/main/java/com/juick/service/component/PingEvent.java b/src/main/java/com/juick/service/component/PingEvent.java index 65cede15..dc5a18d3 100644 --- a/src/main/java/com/juick/service/component/PingEvent.java +++ b/src/main/java/com/juick/service/component/PingEvent.java @@ -21,10 +21,6 @@ import com.juick.model.User; import org.springframework.context.ApplicationEvent; public class PingEvent extends ApplicationEvent { - /** - * - */ - private static final long serialVersionUID = -6015851031167105060L; private final User pinger; /** * Create a new ApplicationEvent. diff --git a/src/main/java/com/juick/service/component/SystemEvent.java b/src/main/java/com/juick/service/component/SystemEvent.java index 7a98fbbf..749f6af8 100644 --- a/src/main/java/com/juick/service/component/SystemEvent.java +++ b/src/main/java/com/juick/service/component/SystemEvent.java @@ -21,10 +21,6 @@ import com.juick.www.api.SystemActivity; import org.springframework.context.ApplicationEvent; public class SystemEvent extends ApplicationEvent { - /** - * - */ - private static final long serialVersionUID = -4755185790820142725L; private final SystemActivity activity; /** * Create a new ApplicationEvent. diff --git a/src/main/java/com/juick/service/component/UserUpdatedEvent.java b/src/main/java/com/juick/service/component/UserUpdatedEvent.java index be6ab62d..e1d1f907 100644 --- a/src/main/java/com/juick/service/component/UserUpdatedEvent.java +++ b/src/main/java/com/juick/service/component/UserUpdatedEvent.java @@ -22,10 +22,6 @@ import org.springframework.context.ApplicationEvent; import org.springframework.lang.NonNull; public class UserUpdatedEvent extends ApplicationEvent { - /** - * - */ - private static final long serialVersionUID = -6155526107375819851L; private final User user; /** * Generated when user is updated (avatar changed, etc). -- cgit v1.2.3