diff options
author | Vitaly Takmazov | 2020-10-19 23:58:28 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2020-10-19 23:58:28 +0300 |
commit | 1fb164198474f214c16a1b57e5bd88517658a6ec (patch) | |
tree | 260d75d5bcef877f94023c5e2ea4dbd174b03f37 /src/main/java/com/juick/service/component | |
parent | e1f15d35e905c45cc7bf85b81544d14f67caa8cf (diff) |
Revert "serialVersionUID for all Serializable classes"
This reverts commit af94a01336a8ec2c44a220548bb9ab409976b69d.
Diffstat (limited to 'src/main/java/com/juick/service/component')
6 files changed, 1 insertions, 27 deletions
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 @@ -21,15 +21,9 @@ 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). |