diff --git a/src/main/java/cokr/xit/interfaces/lntris/InterfaceInfoReader.java b/src/main/java/cokr/xit/interfaces/lntris/InterfaceInfoReader.java index 8add5b5..fdc6143 100644 --- a/src/main/java/cokr/xit/interfaces/lntris/InterfaceInfoReader.java +++ b/src/main/java/cokr/xit/interfaces/lntris/InterfaceInfoReader.java @@ -31,12 +31,14 @@ public abstract class InterfaceInfoReader> extends List paths = getReceivedFilePaths(path -> { String str = path.toString(); - for (String tail: tails) + for (String tail: tails) { if (str.contains(interfaceID) && str.contains(tail)) return true; + } return false; }); + if (paths.isEmpty()) return Collections.emptyList(); List fileStatus = processReceived(paths);