#3186: Replace String.format calls in exceptions with simple string concats

This commit is contained in:
Janmm14
2021-09-17 18:14:21 +10:00
committed by md_5
parent 9953698a7c
commit 06bf088d27
3 changed files with 7 additions and 7 deletions

View File

@@ -230,6 +230,6 @@ public final class TextComponent extends BaseComponent
@Override
public String toString()
{
return String.format( "TextComponent{text=%s, %s}", text, super.toString() );
return "TextComponent{text=" + text + ", " + super.toString() + '}';
}
}