Skip to content

Commit

Permalink
Fix usage of java 15 api.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexIIL committed Aug 14, 2023
1 parent 701e89d commit 3b03fb3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ public FileVisitResult postVisitDirectory(Path dir, IOException exc) throws IOEx
count++;
Path next = iterator.next();
if (count < 100) {
if (!sb.isEmpty()) {
if (sb.length() == 0) {
sb.append(", ");
}
sb.append(next);
Expand Down

0 comments on commit 3b03fb3

Please sign in to comment.