aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--juick-common/src/main/java/com/juick/Message.java9
-rw-r--r--juick-common/src/main/java/com/juick/Recommendation.java34
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;
- }
-}