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/model | |
parent | e1f15d35e905c45cc7bf85b81544d14f67caa8cf (diff) |
Revert "serialVersionUID for all Serializable classes"
This reverts commit af94a01336a8ec2c44a220548bb9ab409976b69d.
Diffstat (limited to 'src/main/java/com/juick/model')
-rw-r--r-- | src/main/java/com/juick/model/AnonymousUser.java | 4 | ||||
-rw-r--r-- | src/main/java/com/juick/model/Attachment.java | 4 | ||||
-rw-r--r-- | src/main/java/com/juick/model/Chat.java | 4 | ||||
-rw-r--r-- | src/main/java/com/juick/model/Entity.java | 4 | ||||
-rw-r--r-- | src/main/java/com/juick/model/Message.java | 4 | ||||
-rw-r--r-- | src/main/java/com/juick/model/Photo.java | 4 | ||||
-rw-r--r-- | src/main/java/com/juick/model/Reaction.java | 5 | ||||
-rw-r--r-- | src/main/java/com/juick/model/Tag.java | 5 | ||||
-rw-r--r-- | src/main/java/com/juick/model/User.java | 4 |
9 files changed, 0 insertions, 38 deletions
diff --git a/src/main/java/com/juick/model/AnonymousUser.java b/src/main/java/com/juick/model/AnonymousUser.java index 387a9f32..127e8e7f 100644 --- a/src/main/java/com/juick/model/AnonymousUser.java +++ b/src/main/java/com/juick/model/AnonymousUser.java @@ -21,10 +21,6 @@ package com.juick.model; * Created by aalexeev on 12/11/16. */ public final class AnonymousUser extends User { - /** - * - */ - private static final long serialVersionUID = -2711112452256383258L; public static final AnonymousUser INSTANCE = new AnonymousUser(); private AnonymousUser() { diff --git a/src/main/java/com/juick/model/Attachment.java b/src/main/java/com/juick/model/Attachment.java index 9b2c29cb..485c69bc 100644 --- a/src/main/java/com/juick/model/Attachment.java +++ b/src/main/java/com/juick/model/Attachment.java @@ -20,10 +20,6 @@ package com.juick.model; import java.io.Serializable; public class Attachment implements Serializable { - /** - * - */ - private static final long serialVersionUID = 5045908853672470897L; private String url; private Integer height; private Integer width; diff --git a/src/main/java/com/juick/model/Chat.java b/src/main/java/com/juick/model/Chat.java index 6d876093..e72afb30 100644 --- a/src/main/java/com/juick/model/Chat.java +++ b/src/main/java/com/juick/model/Chat.java @@ -22,10 +22,6 @@ import com.fasterxml.jackson.annotation.JsonFormat; import java.time.Instant; public class Chat extends User { - /** - * - */ - private static final long serialVersionUID = 6403537597231864691L; private Instant lastMessageTimestamp; private String lastMessageText; diff --git a/src/main/java/com/juick/model/Entity.java b/src/main/java/com/juick/model/Entity.java index e55dd5c4..4cea7a6f 100644 --- a/src/main/java/com/juick/model/Entity.java +++ b/src/main/java/com/juick/model/Entity.java @@ -20,10 +20,6 @@ package com.juick.model; import java.io.Serializable; public class Entity implements Serializable { - /** - * - */ - private static final long serialVersionUID = 1224678482278361917L; private String type; private String url; private String text; diff --git a/src/main/java/com/juick/model/Message.java b/src/main/java/com/juick/model/Message.java index 19958e9f..5ad4fb26 100644 --- a/src/main/java/com/juick/model/Message.java +++ b/src/main/java/com/juick/model/Message.java @@ -40,10 +40,6 @@ import java.util.Set; @XmlRootElement(name = "juick", namespace = "http://juick.com/message") @XmlAccessorType() public class Message implements Comparable<Message>, Serializable { - /** - * - */ - private static final long serialVersionUID = -8974267615566193266L; private int mid = 0; private int rid = 0; private int replyto = 0; diff --git a/src/main/java/com/juick/model/Photo.java b/src/main/java/com/juick/model/Photo.java index b2aeec08..e759f70d 100644 --- a/src/main/java/com/juick/model/Photo.java +++ b/src/main/java/com/juick/model/Photo.java @@ -25,10 +25,6 @@ import java.io.Serializable; // used for compatibility @Deprecated public class Photo implements Serializable { - /** - * - */ - private static final long serialVersionUID = -4344864834480242698L; private String small; private String medium; private String thumbnail; diff --git a/src/main/java/com/juick/model/Reaction.java b/src/main/java/com/juick/model/Reaction.java index bd8c69ec..4b3501d4 100644 --- a/src/main/java/com/juick/model/Reaction.java +++ b/src/main/java/com/juick/model/Reaction.java @@ -23,11 +23,6 @@ import java.io.Serializable; public class Reaction implements Serializable { - /** - * - */ - private static final long serialVersionUID = 6055430982255268594L; - public static final int LIKE = 1; private final int id; diff --git a/src/main/java/com/juick/model/Tag.java b/src/main/java/com/juick/model/Tag.java index 53f451d3..75266303 100644 --- a/src/main/java/com/juick/model/Tag.java +++ b/src/main/java/com/juick/model/Tag.java @@ -29,11 +29,6 @@ import java.util.Objects; @XmlRootElement(name = "tag", namespace = "http://juick.com/message") @XmlAccessorType(XmlAccessType.FIELD) public class Tag implements Comparable<Tag>, Serializable { - /** - * - */ - private static final long serialVersionUID = 2665342664215832275L; - @XmlValue private String name; diff --git a/src/main/java/com/juick/model/User.java b/src/main/java/com/juick/model/User.java index ad509c28..b43257ed 100644 --- a/src/main/java/com/juick/model/User.java +++ b/src/main/java/com/juick/model/User.java @@ -39,10 +39,6 @@ import java.util.Objects; @XmlRootElement(name = "user", namespace = "http://juick.com/user") @XmlAccessorType() public class User implements Serializable { - /** - * - */ - private static final long serialVersionUID = -914973098049669133L; private int uid; private String name; private String avatar; |