Fixes JavaDoc at MathUtils
This commit is contained in:
Fuzzlemann 2017-08-21 19:13:39 +02:00
parent b0a4d67782
commit 67ef64ec0d
3 changed files with 5 additions and 5 deletions

View File

@ -124,7 +124,7 @@ public class InspectCommand extends SubCommand {
}
private void sendInspectMsg(ISender sender, String playerName, UUID uuid) {
sender.sendMessage(Locale.get(Msg.CMD_HEADER_INSPECT) + playerName);
sender.sendMessage(Locale.get(Msg.CMD_HEADER_INSPECT) + " " + playerName);
// Link
String url = HtmlUtils.getInspectUrlWithProtocol(playerName);
String message = Locale.get(Msg.CMD_INFO_LINK).toString();

View File

@ -90,9 +90,9 @@ public class QuickInspectCommand extends SubCommand {
public void run() {
timesrun++;
if (inspectCache.isCached(uuid)) {
sender.sendMessage(Locale.get(Msg.CMD_HEADER_INSPECT) + playerName);
sender.sendMessage(Locale.get(Msg.CMD_HEADER_INSPECT) + " " + playerName);
sender.sendMessage(TextUI.getInspectMessages(uuid));
sender.sendMessage(Locale.get(Msg.CMD_CONSTANT_FOOTER) + "");
sender.sendMessage(Locale.get(Msg.CMD_CONSTANT_FOOTER).toString());
this.cancel();
}
if (timesrun > 10) {

View File

@ -152,7 +152,7 @@ public class MathUtils {
/**
* Gets the biggest Integer in a Collection with Integer as Entry
* If the Collection is empty, it will return 0.
* If the Collection is empty, it will return 1.
*
* @param values The Collection with Integer as the Entry
* @return The biggest Integer
@ -166,7 +166,7 @@ public class MathUtils {
/**
* Gets the biggest Long in a Collection with Long as Entry
* If the Collection is empty, it will return 0.
* If the Collection is empty, it will return 1.
*
* @param values The Collection with Long as the Entry
* @return The biggest Integer