From 7f2ae26dbe83875f733219357c11aad78e580e0e Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 30 Jan 2018 16:30:51 +0300 Subject: core: drop unused PM class --- juick-core/src/main/java/com/juick/Message.java | 10 ++++---- juick-core/src/main/java/com/juick/PM.java | 33 ------------------------- 2 files changed, 5 insertions(+), 38 deletions(-) delete mode 100644 juick-core/src/main/java/com/juick/PM.java (limited to 'juick-core/src') 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 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 . - */ - -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; - } -} -- cgit v1.2.3