Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

PersistableSlidingWindow#load() modification #495

Merged
merged 3 commits into from
Oct 28, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ protected synchronized void load(Path path) throws IOException {
if (!enablePersistence) {
return;
}
if (!Files.exists(path)) {
LOG.debug("{}#load({}) called but the file doesn't exist", this.getClass().getSimpleName(), path);
sidheart marked this conversation as resolved.
Show resolved Hide resolved
return;
}
LineIterator it = FileUtils.lineIterator(path.toFile(), "UTF-8");
try {
while (it.hasNext()) {
Expand Down