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. --- 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 deletions(-) (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 fdc477ba..25d5ae39 100644 --- a/src/main/java/com/juick/service/activities/AnnounceEvent.java +++ b/src/main/java/com/juick/service/activities/AnnounceEvent.java @@ -20,10 +20,6 @@ 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 23403a10..f58944fb 100644 --- a/src/main/java/com/juick/service/activities/DeleteMessageEvent.java +++ b/src/main/java/com/juick/service/activities/DeleteMessageEvent.java @@ -21,10 +21,6 @@ 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 2a244758..7478657d 100644 --- a/src/main/java/com/juick/service/activities/DeleteUserEvent.java +++ b/src/main/java/com/juick/service/activities/DeleteUserEvent.java @@ -20,10 +20,6 @@ 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 f2c79713..de99b6f8 100644 --- a/src/main/java/com/juick/service/activities/FollowEvent.java +++ b/src/main/java/com/juick/service/activities/FollowEvent.java @@ -21,10 +21,6 @@ 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 a44968c2..683e7f78 100644 --- a/src/main/java/com/juick/service/activities/UndoAnnounceEvent.java +++ b/src/main/java/com/juick/service/activities/UndoAnnounceEvent.java @@ -20,10 +20,6 @@ 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 e3c93c73..2f5201a9 100644 --- a/src/main/java/com/juick/service/activities/UndoFollowEvent.java +++ b/src/main/java/com/juick/service/activities/UndoFollowEvent.java @@ -20,10 +20,6 @@ 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 0567b701..c5cceb24 100644 --- a/src/main/java/com/juick/service/activities/UpdateEvent.java +++ b/src/main/java/com/juick/service/activities/UpdateEvent.java @@ -21,10 +21,6 @@ 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