#3186: Replace String.format calls in exceptions with simple string concats
This commit is contained in:
@@ -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() + '}';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user