read(...) 수정

master
mjkhan21 8 months ago
parent 948bebd8d4
commit e6a2e0560e

@ -31,12 +31,14 @@ public abstract class InterfaceInfoReader<T extends InterfaceInfo<?, ?>> extends
List<Path> paths = getReceivedFilePaths(path -> { List<Path> paths = getReceivedFilePaths(path -> {
String str = path.toString(); String str = path.toString();
for (String tail: tails) for (String tail: tails) {
if (str.contains(interfaceID) && str.contains(tail)) if (str.contains(interfaceID) && str.contains(tail))
return true; return true;
}
return false; return false;
}); });
if (paths.isEmpty()) return Collections.emptyList(); if (paths.isEmpty()) return Collections.emptyList();
List<FileStatus> fileStatus = processReceived(paths); List<FileStatus> fileStatus = processReceived(paths);

Loading…
Cancel
Save