aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/model
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-06-25 01:14:09 +0300
committerGravatar Vitaly Takmazov2022-06-25 01:14:09 +0300
commit8f3d85a8afa851f4457163d3aade01c1f63075a0 (patch)
treeb1ea8dd6a3c4335b96136604cb5acf9e3f4f4315 /src/main/java/com/juick/model
parent4ebc9ab55553a33ef7c3bedb8628ffaf74333f84 (diff)
Fix recommendations counters in html templates
* deprecate `likes` message field, use `recommendations` where possible
Diffstat (limited to 'src/main/java/com/juick/model')
-rw-r--r--src/main/java/com/juick/model/Message.java1
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;
}