From c9d67837cbcaae84a03b7bd14e508ca62880f87f Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sat, 7 Mar 2020 13:20:45 +0300 Subject: Reorganize project layout --- src/main/java/com/juick/formatters/PlainTextFormatter.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/java/com/juick/formatters') diff --git a/src/main/java/com/juick/formatters/PlainTextFormatter.java b/src/main/java/com/juick/formatters/PlainTextFormatter.java index 1d5299c9..21cabac2 100644 --- a/src/main/java/com/juick/formatters/PlainTextFormatter.java +++ b/src/main/java/com/juick/formatters/PlainTextFormatter.java @@ -17,7 +17,7 @@ package com.juick.formatters; -import com.juick.Message; +import com.juick.model.Message; import com.juick.util.MessageUtils; import org.apache.commons.lang3.StringUtils; import org.ocpsoft.prettytime.PrettyTime; @@ -75,7 +75,7 @@ public class PlainTextFormatter { m.getUser().getName(), MessageUtils.getTagsString(m), sb.toString(), formatPostNumber(m), timeAgo, repliesCount, formatUrl(m)); } - public static String formatUrl(com.juick.Message jmsg) { + public static String formatUrl(Message jmsg) { if (MessageUtils.isReply(jmsg)) { return String.format("https://juick.com/m/%d#%d", jmsg.getMid(), jmsg.getRid()); } else if (MessageUtils.isPM(jmsg)) { @@ -92,7 +92,7 @@ public class PlainTextFormatter { } } - public static String formatPostNumber(com.juick.Message jmsg) { + public static String formatPostNumber(Message jmsg) { if (jmsg.getRid() > 0) { return String.format("%d/%d", jmsg.getMid(), jmsg.getRid()); } -- cgit v1.2.3