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 | |
parent | e1f15d35e905c45cc7bf85b81544d14f67caa8cf (diff) |
Revert "serialVersionUID for all Serializable classes"
This reverts commit af94a01336a8ec2c44a220548bb9ab409976b69d.
Diffstat (limited to 'src/main/java/com/juick/service')
14 files changed, 1 insertions, 59 deletions
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; /** 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). diff --git a/src/main/java/com/juick/service/security/entities/JuickUser.java b/src/main/java/com/juick/service/security/entities/JuickUser.java index 243e0465..b8cfa92a 100644 --- a/src/main/java/com/juick/service/security/entities/JuickUser.java +++ b/src/main/java/com/juick/service/security/entities/JuickUser.java @@ -32,10 +32,6 @@ import java.util.List; * Created by aalexeev on 11/21/16. */ public class JuickUser implements UserDetails { - /** - * - */ - private static final long serialVersionUID = 5359075078945208548L; static final GrantedAuthority ROLE_USER = new SimpleGrantedAuthority("ROLE_USER"); static final GrantedAuthority ROLE_ADMIN = new SimpleGrantedAuthority("ROLE_ADMIN"); static final GrantedAuthority ROLE_ANONYMOUS = new SimpleGrantedAuthority("ROLE_ANONYMOUS"); |