13
0
geforkt von Mirrors/Velocity
Dieser Commit ist enthalten in:
Lars Artmann 2018-11-22 22:51:19 +01:00 committet von GitHub
Ursprung 070631902a
Commit f241023282
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -23,7 +23,7 @@ public class VelocityCommandManager implements CommandManager {
Preconditions.checkNotNull(command, "executor"); Preconditions.checkNotNull(command, "executor");
for (int i = 0, length = aliases.length; i < length; i++) { for (int i = 0, length = aliases.length; i < length; i++) {
final String alias = aliases[i]; final String alias = aliases[i];
Preconditions.checkNotNull(aliases, "alias at index %s", i); Preconditions.checkNotNull(alias, "alias at index %s", i);
this.commands.put(alias.toLowerCase(Locale.ENGLISH), command); this.commands.put(alias.toLowerCase(Locale.ENGLISH), command);
} }
} }