polishing

This commit is contained in:
2026-02-24 20:14:47 +09:00
parent 815ee57e06
commit 7128eb007e
2 changed files with 8 additions and 4 deletions

View File

@@ -294,7 +294,11 @@ public class FIleChecker {
folderList =
stream
.filter(Files::isDirectory)
.filter(p -> !p.toAbsolutePath().normalize().equals(startPath.toAbsolutePath().normalize()))
.filter(
p ->
!p.toAbsolutePath()
.normalize()
.equals(startPath.toAbsolutePath().normalize()))
.map(
path -> {
int depth = path.getNameCount();