Skip to content

Commit

Permalink
[FELIX-6461] Fix retry logic in FileInstall DirectoryWatcher
Browse files Browse the repository at this point in the history
  • Loading branch information
jbonofre committed Jan 3, 2022
1 parent bf412d5 commit 0959452
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ public void run()
// Check that there is a result. If not, this means that the directory can not be listed,
// so it's presumably not a valid directory (it may have been deleted by someone).
// In such case, just sleep
if (files != null && !files.isEmpty()) {
if (files != null) {
process(files);
}
}
Expand Down

0 comments on commit 0959452

Please sign in to comment.