mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-03 12:55:11 +00:00
StringBuilder isEmpty fix (available for newer javas)
This commit is contained in:
@@ -843,7 +843,7 @@ public class Helper {
|
||||
}
|
||||
}
|
||||
|
||||
if (!sb.isEmpty()) {
|
||||
if (sb.length() > 0) {
|
||||
char lastChar = sb.charAt(sb.length() - 1);
|
||||
if (lastChar == ' ') {
|
||||
sb.setLength(sb.length() - 1);
|
||||
|
||||
Reference in New Issue
Block a user