aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/service
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/juick/service')
-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
-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
-rw-r--r--src/main/java/com/juick/service/security/entities/JuickUser.java4
14 files changed, 59 insertions, 1 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;
/**
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).
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 b8cfa92a..243e0465 100644
--- a/src/main/java/com/juick/service/security/entities/JuickUser.java
+++ b/src/main/java/com/juick/service/security/entities/JuickUser.java
@@ -32,6 +32,10 @@ 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");