aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/service/activities
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2020-10-19 14:46:41 +0300
committerGravatar Vitaly Takmazov2020-10-19 14:46:41 +0300
commitaf94a01336a8ec2c44a220548bb9ab409976b69d (patch)
tree933c4512aa6b84cda8a9905120ea09ba61116449 /src/main/java/com/juick/service/activities
parent17972adb2c94dd425c0144d71150212dab939d91 (diff)
serialVersionUID for all Serializable classes
Diffstat (limited to 'src/main/java/com/juick/service/activities')
-rw-r--r--src/main/java/com/juick/service/activities/AnnounceEvent.java4
-rw-r--r--src/main/java/com/juick/service/activities/DeleteMessageEvent.java4
-rw-r--r--src/main/java/com/juick/service/activities/DeleteUserEvent.java4
-rw-r--r--src/main/java/com/juick/service/activities/FollowEvent.java4
-rw-r--r--src/main/java/com/juick/service/activities/UndoAnnounceEvent.java4
-rw-r--r--src/main/java/com/juick/service/activities/UndoFollowEvent.java4
-rw-r--r--src/main/java/com/juick/service/activities/UpdateEvent.java4
7 files changed, 28 insertions, 0 deletions
diff --git a/src/main/java/com/juick/service/activities/AnnounceEvent.java b/src/main/java/com/juick/service/activities/AnnounceEvent.java
index 25d5ae39..fdc477ba 100644
--- a/src/main/java/com/juick/service/activities/AnnounceEvent.java
+++ b/src/main/java/com/juick/service/activities/AnnounceEvent.java
@@ -20,6 +20,10 @@ package com.juick.service.activities;
import org.springframework.context.ApplicationEvent;
public class AnnounceEvent extends ApplicationEvent {
+ /**
+ *
+ */
+ private static final long serialVersionUID = -4679819986125805564L;
private final String actorUri;
private final String messageUri;
diff --git a/src/main/java/com/juick/service/activities/DeleteMessageEvent.java b/src/main/java/com/juick/service/activities/DeleteMessageEvent.java
index f58944fb..23403a10 100644
--- a/src/main/java/com/juick/service/activities/DeleteMessageEvent.java
+++ b/src/main/java/com/juick/service/activities/DeleteMessageEvent.java
@@ -21,6 +21,10 @@ import com.juick.model.Message;
import org.springframework.context.ApplicationEvent;
public class DeleteMessageEvent extends ApplicationEvent {
+ /**
+ *
+ */
+ private static final long serialVersionUID = 411459342784951699L;
private final Message message;
/**
* Create a new ApplicationEvent.
diff --git a/src/main/java/com/juick/service/activities/DeleteUserEvent.java b/src/main/java/com/juick/service/activities/DeleteUserEvent.java
index 7478657d..2a244758 100644
--- a/src/main/java/com/juick/service/activities/DeleteUserEvent.java
+++ b/src/main/java/com/juick/service/activities/DeleteUserEvent.java
@@ -20,6 +20,10 @@ package com.juick.service.activities;
import org.springframework.context.ApplicationEvent;
public class DeleteUserEvent extends ApplicationEvent {
+ /**
+ *
+ */
+ private static final long serialVersionUID = 634686893256259138L;
private final String userUri;
/**
* Create a new ApplicationEvent.
diff --git a/src/main/java/com/juick/service/activities/FollowEvent.java b/src/main/java/com/juick/service/activities/FollowEvent.java
index de99b6f8..f2c79713 100644
--- a/src/main/java/com/juick/service/activities/FollowEvent.java
+++ b/src/main/java/com/juick/service/activities/FollowEvent.java
@@ -21,6 +21,10 @@ import com.juick.www.api.activity.model.activities.Follow;
import org.springframework.context.ApplicationEvent;
public class FollowEvent extends ApplicationEvent {
+ /**
+ *
+ */
+ private static final long serialVersionUID = 1128810954341470480L;
private final Follow request;
/**
* Create a new ApplicationEvent.
diff --git a/src/main/java/com/juick/service/activities/UndoAnnounceEvent.java b/src/main/java/com/juick/service/activities/UndoAnnounceEvent.java
index 683e7f78..a44968c2 100644
--- a/src/main/java/com/juick/service/activities/UndoAnnounceEvent.java
+++ b/src/main/java/com/juick/service/activities/UndoAnnounceEvent.java
@@ -20,6 +20,10 @@ package com.juick.service.activities;
import org.springframework.context.ApplicationEvent;
public class UndoAnnounceEvent extends ApplicationEvent {
+ /**
+ *
+ */
+ private static final long serialVersionUID = -8563617088145835564L;
private final String actorUri;
private final String messageUri;
diff --git a/src/main/java/com/juick/service/activities/UndoFollowEvent.java b/src/main/java/com/juick/service/activities/UndoFollowEvent.java
index 2f5201a9..e3c93c73 100644
--- a/src/main/java/com/juick/service/activities/UndoFollowEvent.java
+++ b/src/main/java/com/juick/service/activities/UndoFollowEvent.java
@@ -20,6 +20,10 @@ package com.juick.service.activities;
import org.springframework.context.ApplicationEvent;
public class UndoFollowEvent extends ApplicationEvent {
+ /**
+ *
+ */
+ private static final long serialVersionUID = 8421957930088395402L;
private final String actor;
private final String object;
/**
diff --git a/src/main/java/com/juick/service/activities/UpdateEvent.java b/src/main/java/com/juick/service/activities/UpdateEvent.java
index c5cceb24..0567b701 100644
--- a/src/main/java/com/juick/service/activities/UpdateEvent.java
+++ b/src/main/java/com/juick/service/activities/UpdateEvent.java
@@ -21,6 +21,10 @@ import com.juick.model.User;
import org.springframework.context.ApplicationEvent;
public class UpdateEvent extends ApplicationEvent {
+ /**
+ *
+ */
+ private static final long serialVersionUID = -8314935452761305978L;
private final User actor;
private final String messageUri;
/**