Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sleroux-keep committed Jan 6, 2017
1 parent a900a26 commit d282ca4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/org/roda/rodain/utils/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d282ca4

Please sign in to comment.