diff options
Diffstat (limited to 'src/main/java/com/juick/formatters')
-rw-r--r-- | src/main/java/com/juick/formatters/PlainTextFormatter.java | 6 |
1 files changed, 3 insertions, 3 deletions
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()); } |