Fix IndexOutOfBounds in StringUtils.formatString

This commit is contained in:
Aurora 2020-08-13 18:22:38 +02:00
parent f775064ae5
commit 8d41e3fa2d
No known key found for this signature in database
GPG Key ID: 89839F67B53656AD
1 changed files with 1 additions and 0 deletions

View File

@ -113,6 +113,7 @@ public class StringUtils {
public String formatString(String string) {
if (string == null) return "null";
if (string.isEmpty()) return string;
string = string.toLowerCase();