mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-12-04 15:52:35 -08:00
Change StringBuilder.isEmpty() to length check instead for Java 8 compatibility
This commit is contained in:
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(", ");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user