Cleanup.
This commit is contained in:
parent
72dce163e9
commit
6518969031
1 changed files with 3 additions and 2 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue