Обновлены библиотеки

This commit is contained in:
serega6531
2020-06-19 15:01:15 +03:00
parent b2154dd1ef
commit 03ae316b62
3 changed files with 5 additions and 7 deletions

View File

@@ -32,7 +32,7 @@ public class FilePcapWorker extends AbstractPcapWorker {
this.subscriptionService = subscriptionService;
file = new File(filename);
if(!file.exists()) {
if (!file.exists()) {
throw new IllegalArgumentException("File " + file.getAbsolutePath() + " does not exist");
}
@@ -61,10 +61,8 @@ public class FilePcapWorker extends AbstractPcapWorker {
//noinspection BusyWait
Thread.sleep(100); // чтобы ошибки не летели слишком быстро
} catch (EOFException e) {
stop();
log.info("All packets processed");
break;
stop();
}
}
}