diff options
author | Vitaly Takmazov | 2022-06-25 01:14:09 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2022-06-25 01:14:09 +0300 |
commit | 8f3d85a8afa851f4457163d3aade01c1f63075a0 (patch) | |
tree | b1ea8dd6a3c4335b96136604cb5acf9e3f4f4315 /src/main/java/com/juick/model/Message.java | |
parent | 4ebc9ab55553a33ef7c3bedb8628ffaf74333f84 (diff) |
Fix recommendations counters in html templates
* deprecate `likes` message field, use `recommendations` where possible
Diffstat (limited to 'src/main/java/com/juick/model/Message.java')
-rw-r--r-- | src/main/java/com/juick/model/Message.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/juick/model/Message.java b/src/main/java/com/juick/model/Message.java index 5ad4fb26..0ae756b1 100644 --- a/src/main/java/com/juick/model/Message.java +++ b/src/main/java/com/juick/model/Message.java @@ -258,6 +258,7 @@ public class Message implements Comparable<Message>, Serializable { } @XmlTransient + @Deprecated public int getLikes() { return likes; } |