From 007f78c1712e0dc1402c85914e40e9752deaae73 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 11 May 2018 13:07:39 +0300 Subject: common: drop unused fields from Message --- juick-common/src/main/java/com/juick/Message.java | 4 ---- 1 file changed, 4 deletions(-) (limited to 'juick-common') diff --git a/juick-common/src/main/java/com/juick/Message.java b/juick-common/src/main/java/com/juick/Message.java index b1c0ab79..f1446dfe 100644 --- a/juick-common/src/main/java/com/juick/Message.java +++ b/juick-common/src/main/java/com/juick/Message.java @@ -47,9 +47,6 @@ public class Message implements Comparable { private Instant ts; private Instant updated; private boolean unread; - @XmlTransient - @JsonIgnore - public int TimeAgo = 0; @JsonIgnore private int privacy = 1; @XmlTransient @@ -90,7 +87,6 @@ public class Message implements Comparable { .append("mid", mid) .append("rid", rid) .append("replyto", replyto) - .append("TimeAgo", TimeAgo) .append("privacy", privacy) .append("FriendsOnly", FriendsOnly) .append("ReadOnly", ReadOnly) -- cgit v1.2.3