Skip to content

Commit

Permalink
fixed: explicit call to close() on an auto-closeable resource
Browse files Browse the repository at this point in the history
  • Loading branch information
LionelCons committed Feb 8, 2024
1 parent 208b5f1 commit 90c96a1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/java/ch/cern/dirq/QueueSimple.java
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,6 @@ private boolean touchFile(final File file) {
long length = raf.length();
raf.setLength(length + 1);
raf.setLength(length);
raf.close();
return true;
} catch (IOException e) {
return false;
Expand Down

0 comments on commit 90c96a1

Please sign in to comment.