diff --git a/src/main/java/org/roda/rodain/utils/Utils.java b/src/main/java/org/roda/rodain/utils/Utils.java index 706b8c6f..fd797551 100644 --- a/src/main/java/org/roda/rodain/utils/Utils.java +++ b/src/main/java/org/roda/rodain/utils/Utils.java @@ -272,10 +272,11 @@ public static boolean containsAtLeastOneNotIgnoredFile(Path path) { if (path.toFile().listFiles().length == 0) { res = false; } else { - + //TODO FIX!!!!!!!!!!!!!!!!!!!!!!! + /* ValidFilesCounter visitor = new ValidFilesCounter(); Files.walkFileTree(path, visitor); int validFiles = - visitor.getValidFiles(); if (validFiles == 0) { res = false; } + visitor.getValidFiles(); if (validFiles == 0) { res = false; }*/ } } catch (Exception e) { LOGGER.debug("Error while checking if directory contains at least on valid file: " + e.getMessage(), e);