fix: make code java 11 compatible
This commit is contained in:
parent
87f8975275
commit
d7f6010319
@ -19,7 +19,7 @@ public class Paths {
|
||||
|
||||
for (var el : res) sb.append("/").append(el);
|
||||
|
||||
if (sb.isEmpty()) return "/";
|
||||
if (sb.length() == 0) return "/";
|
||||
else return sb.toString();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user