From af94a01336a8ec2c44a220548bb9ab409976b69d Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 19 Oct 2020 14:46:41 +0300 Subject: serialVersionUID for all Serializable classes --- src/main/java/com/juick/service/activities/AnnounceEvent.java | 4 ++++ src/main/java/com/juick/service/activities/DeleteMessageEvent.java | 4 ++++ src/main/java/com/juick/service/activities/DeleteUserEvent.java | 4 ++++ src/main/java/com/juick/service/activities/FollowEvent.java | 4 ++++ src/main/java/com/juick/service/activities/UndoAnnounceEvent.java | 4 ++++ src/main/java/com/juick/service/activities/UndoFollowEvent.java | 4 ++++ src/main/java/com/juick/service/activities/UpdateEvent.java | 4 ++++ 7 files changed, 28 insertions(+) (limited to 'src/main/java/com/juick/service/activities') 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; /** -- cgit v1.2.3