aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/service/component
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/juick/service/component')
-rw-r--r--src/main/java/com/juick/service/component/AccountVerificationEvent.java4
-rw-r--r--src/main/java/com/juick/service/component/DisconnectedEvent.java8
-rw-r--r--src/main/java/com/juick/service/component/MailVerificationEvent.java4
-rw-r--r--src/main/java/com/juick/service/component/PingEvent.java4
-rw-r--r--src/main/java/com/juick/service/component/SystemEvent.java4
-rw-r--r--src/main/java/com/juick/service/component/UserUpdatedEvent.java4
6 files changed, 27 insertions, 1 deletions
diff --git a/src/main/java/com/juick/service/component/AccountVerificationEvent.java b/src/main/java/com/juick/service/component/AccountVerificationEvent.java
index 89b2bfca..640a3a1b 100644
--- a/src/main/java/com/juick/service/component/AccountVerificationEvent.java
+++ b/src/main/java/com/juick/service/component/AccountVerificationEvent.java
@@ -20,6 +20,10 @@ 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 4f856efa..62a14faa 100644
--- a/src/main/java/com/juick/service/component/DisconnectedEvent.java
+++ b/src/main/java/com/juick/service/component/DisconnectedEvent.java
@@ -21,9 +21,15 @@ 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 0d992159..098595c4 100644
--- a/src/main/java/com/juick/service/component/MailVerificationEvent.java
+++ b/src/main/java/com/juick/service/component/MailVerificationEvent.java
@@ -20,6 +20,10 @@ 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 dc5a18d3..65cede15 100644
--- a/src/main/java/com/juick/service/component/PingEvent.java
+++ b/src/main/java/com/juick/service/component/PingEvent.java
@@ -21,6 +21,10 @@ 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 749f6af8..7a98fbbf 100644
--- a/src/main/java/com/juick/service/component/SystemEvent.java
+++ b/src/main/java/com/juick/service/component/SystemEvent.java
@@ -21,6 +21,10 @@ 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 e1d1f907..be6ab62d 100644
--- a/src/main/java/com/juick/service/component/UserUpdatedEvent.java
+++ b/src/main/java/com/juick/service/component/UserUpdatedEvent.java
@@ -22,6 +22,10 @@ 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).