various fixes

This commit is contained in:
Loredana Crusoveanu
2022-06-01 16:19:28 +03:00
parent 9836afb4d8
commit e33521139a
5 changed files with 36 additions and 13 deletions

View File

@@ -79,9 +79,7 @@ public class FileLocks {
while (buffer.hasRemaining()) {
channel.write(buffer, channel.size());
}
LOG.debug("This was written to the file");
Files.lines(path)
.forEach(LOG::debug);
return lock;
}
}