diff --git a/src/main/java/net/thauvin/erik/mobibot/entries/EntriesUtils.java b/src/main/java/net/thauvin/erik/mobibot/entries/EntriesUtils.java index 8e7f9ba..63e8561 100644 --- a/src/main/java/net/thauvin/erik/mobibot/entries/EntriesUtils.java +++ b/src/main/java/net/thauvin/erik/mobibot/entries/EntriesUtils.java @@ -87,9 +87,8 @@ public final class EntriesUtils { */ @SuppressFBWarnings(value = "CE_CLASS_ENVY", justification = "Yes, it does.") public static String buildLink(final int index, final EntryLink entry, final boolean isView) { - final StringBuilder buff = new StringBuilder().append(Commands.LINK_CMD).append(index + 1).append(": "); - - buff.append('[').append(entry.getNick()).append(']'); + final StringBuilder buff = new StringBuilder().append(Commands.LINK_CMD).append(index + 1) + .append(": ").append('[').append(entry.getNick()).append(']'); if (isView && entry.hasComments()) { buff.append("[+").append(entry.getCommentsCount()).append(']');