From e6a2e0560e0c23e8b8dbdb68c4124c39f14dd403 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Wed, 20 Mar 2024 10:40:06 +0900 Subject: [PATCH] =?UTF-8?q?read(...)=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/cokr/xit/interfaces/lntris/InterfaceInfoReader.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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);