Change StringBuilder.isEmpty() to length check instead for Java 8 compatibility

This commit is contained in:
ButterscotchVanilla committed 2021-12-16 02:26:02 -05:00
1 parent 3f304f7275
commit 1a3a955e10
1 file changed
+1 -1
@@ -70,7 +70,7 @@ public class AutoBoneWindow extends JFrame {
private String getLengthsString() {
final StringBuilder configInfo = new StringBuilder();
autoBone.configs.forEach((key, value) -> {
if(!configInfo.isEmpty()) {
if(configInfo.length() > 0) {
configInfo.append(", ");
}