Fix NPE in Message#asString (fixes #822, #823, #824)

This commit is contained in:
Luck 2018-03-13 15:30:35 +00:00
parent 60aa7c6104
commit dbfc524180
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -459,10 +459,6 @@ public enum Message {
return this.message;
}
public String asString(Object... objects) {
return asString(null, objects);
}
public String asString(@Nullable LocaleManager localeManager, Object... objects) {
String prefix = null;
if (localeManager != null) {