diff options
author | Vitaly Takmazov | 2018-05-11 13:24:36 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-05-11 13:24:36 +0300 |
commit | b78a263318a45fa5428906136f6d25ea06363bda (patch) | |
tree | 493ce7362e721dc6b22be8e5ded053614eff6643 /juick-common/src/main/java/com | |
parent | 6f85b661374ea0f3320dcff966fa7d76762ce742 (diff) |
common: drop unused Recommendation class
Diffstat (limited to 'juick-common/src/main/java/com')
-rw-r--r-- | juick-common/src/main/java/com/juick/Message.java | 9 | ||||
-rw-r--r-- | juick-common/src/main/java/com/juick/Recommendation.java | 34 |
2 files changed, 0 insertions, 43 deletions
diff --git a/juick-common/src/main/java/com/juick/Message.java b/juick-common/src/main/java/com/juick/Message.java index f1446dfe..7e03fc8e 100644 --- a/juick-common/src/main/java/com/juick/Message.java +++ b/juick-common/src/main/java/com/juick/Message.java @@ -70,7 +70,6 @@ public class Message implements Comparable { private Attachment attachment; private int likes; private User to; - private Recommendation Recommendation; private String replyQuote; @XmlTransient private Set<Reaction> reactions; @@ -188,14 +187,6 @@ public class Message implements Comparable { this.to = to; } - public Recommendation getRecommendation() { - return Recommendation; - } - - public void setRecommendation(Recommendation recommendation) { - this.Recommendation = recommendation; - } - @XmlAttribute(name = "quote") public String getReplyQuote() { return replyQuote; diff --git a/juick-common/src/main/java/com/juick/Recommendation.java b/juick-common/src/main/java/com/juick/Recommendation.java deleted file mode 100644 index 0a74b9ea..00000000 --- a/juick-common/src/main/java/com/juick/Recommendation.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (C) 2008-2017, Juick - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -package com.juick; - -/** - * Created by vt on 08/02/16. - */ -public class Recommendation { - private final User from; - - - public Recommendation(User from) { - this.from = from; - } - - public User getFrom() { - return from; - } -} |