fix: make code java 11 compatible

This commit is contained in:
TopchetoEU 2023-12-26 14:22:35 +02:00
parent 87f8975275
commit d7f6010319
Signed by: topchetoeu
GPG Key ID: 6531B8583E5F6ED4

View File

@ -19,7 +19,7 @@ public class Paths {
for (var el : res) sb.append("/").append(el); for (var el : res) sb.append("/").append(el);
if (sb.isEmpty()) return "/"; if (sb.length() == 0) return "/";
else return sb.toString(); else return sb.toString();
} }