From 8e17090cc71de4f52861c2febd31373a8ec7f2a4 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Tue, 8 Dec 2020 15:36:24 -0800 Subject: [PATCH] these javadocs are straight up wrong --- .../nossr50/util/commands/CommandUtils.java | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/util/commands/CommandUtils.java b/src/main/java/com/gmail/nossr50/util/commands/CommandUtils.java index 988bc7c6c..8d40480d5 100644 --- a/src/main/java/com/gmail/nossr50/util/commands/CommandUtils.java +++ b/src/main/java/com/gmail/nossr50/util/commands/CommandUtils.java @@ -249,13 +249,6 @@ public final class CommandUtils { return onlinePlayerNames; } - /** - * Get a matched player name if one was found in the database. - * - * @param partialName Name to match - * - * @return Matched name or {@code partialName} if no match was found - */ public static String getMatchedPlayerName(String partialName) { if (Config.getInstance().getMatchOfflinePlayers()) { List matches = matchPlayer(partialName); @@ -275,15 +268,6 @@ public final class CommandUtils { return partialName; } - /** - * Attempts to match any player names with the given name, and returns a list of all possibly matches. - * - * This list is not sorted in any particular order. - * If an exact match is found, the returned list will only contain a single result. - * - * @param partialName Name to match - * @return List of all possible names - */ private static List matchPlayer(String partialName) { List matchedPlayers = new ArrayList<>();