From b78a263318a45fa5428906136f6d25ea06363bda Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 11 May 2018 13:24:36 +0300 Subject: common: drop unused Recommendation class --- juick-common/src/main/java/com/juick/Message.java | 9 ------ .../src/main/java/com/juick/Recommendation.java | 34 ---------------------- 2 files changed, 43 deletions(-) delete mode 100644 juick-common/src/main/java/com/juick/Recommendation.java (limited to 'juick-common/src/main/java/com') 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 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 . - */ - -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; - } -} -- cgit v1.2.3