This commit is contained in:
Erik C. Thauvin 2019-04-19 22:55:43 -07:00
parent 72dce163e9
commit 6518969031

View file

@ -34,6 +34,7 @@ package net.thauvin.erik.mobibot.entries;
import net.thauvin.erik.mobibot.Commands; import net.thauvin.erik.mobibot.Commands;
import net.thauvin.erik.mobibot.Constants; import net.thauvin.erik.mobibot.Constants;
import net.thauvin.erik.mobibot.Utils;
/** /**
* The <code>Utils</code> class. * The <code>Utils</code> class.
@ -97,10 +98,10 @@ public final class EntriesUtils {
if (Constants.NO_TITLE.equals(entry.getTitle())) { if (Constants.NO_TITLE.equals(entry.getTitle())) {
buff.append(entry.getTitle()); buff.append(entry.getTitle());
} else { } else {
buff.append(net.thauvin.erik.mobibot.Utils.bold(entry.getTitle())); buff.append(Utils.bold(entry.getTitle()));
} }
buff.append(" ( ").append(net.thauvin.erik.mobibot.Utils.green(entry.getLink())).append(" )"); buff.append(" ( ").append(Utils.green(entry.getLink())).append(" )");
return buff.toString(); return buff.toString();
} }