[NUSTitle] Fix bug.

This commit is contained in:
Maschell 2019-02-28 21:53:09 +01:00
parent 43d9d6f5cc
commit 89fbc830f1

View File

@ -80,7 +80,7 @@ public class NUSTitle {
.filter(e -> allowNotInPackage || !e.isNotInPackage()) //
.flatMap(e -> {
if (!e.isDir()) {
return Stream.empty();
return Stream.of(e);
}
return getAllFSTEntryChildrenAsStream(e, allowNotInPackage);
});