diff --git a/source/src/main/java/one/nem/lacerta/source/file/impl/FileManagerImpl.java b/source/src/main/java/one/nem/lacerta/source/file/impl/FileManagerImpl.java index 758737b1..76a55e9a 100644 --- a/source/src/main/java/one/nem/lacerta/source/file/impl/FileManagerImpl.java +++ b/source/src/main/java/one/nem/lacerta/source/file/impl/FileManagerImpl.java @@ -61,10 +61,8 @@ public class FileManagerImpl implements FileManager { public List getList() { List list = new ArrayList<>(); try (DirectoryStream stream = Files.newDirectoryStream(currentDir)) { - for (Path entry : stream) { - if (Files.isDirectory(entry)) { - list.add(entry); - } + for (Path entry : stream) { // TODO-rca: エラーハンドリング, 効率化 + list.add(entry); } } catch (IOException e) { e.printStackTrace();