aboutsummaryrefslogtreecommitdiff
path: root/juick-core/src/main/java/com/juick
diff options
context:
space:
mode:
Diffstat (limited to 'juick-core/src/main/java/com/juick')
-rw-r--r--juick-core/src/main/java/com/juick/Message.java10
-rw-r--r--juick-core/src/main/java/com/juick/PM.java33
2 files changed, 5 insertions, 38 deletions
diff --git a/juick-core/src/main/java/com/juick/Message.java b/juick-core/src/main/java/com/juick/Message.java
index eafcd841..c4ddabf6 100644
--- a/juick-core/src/main/java/com/juick/Message.java
+++ b/juick-core/src/main/java/com/juick/Message.java
@@ -70,7 +70,7 @@ public class Message implements Comparable {
public Place Place = null;
private int likes;
public final List<Message> childs;
- private PM PM;
+ private User to;
private Recommendation Recommendation;
private String replyQuote;
@@ -231,12 +231,12 @@ public class Message implements Comparable {
this.ts = timestamp;
}
- public com.juick.PM getPM() {
- return PM;
+ public User getTo() {
+ return to;
}
- public void setPM(com.juick.PM PM) {
- this.PM = PM;
+ public void setTo(User to) {
+ this.to = to;
}
public Recommendation getRecommendation() {
diff --git a/juick-core/src/main/java/com/juick/PM.java b/juick-core/src/main/java/com/juick/PM.java
deleted file mode 100644
index f5462f48..00000000
--- a/juick-core/src/main/java/com/juick/PM.java
+++ /dev/null
@@ -1,33 +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 PM {
- private final User to;
-
- public PM(User to) {
- this.to = to;
- }
-
- public User getTo() {
- return to;
- }
-}