Skip to content

Commit

Permalink
Fix channel being set to append mode when not asked to
Browse files Browse the repository at this point in the history
Signed-off-by: TheSilkMiner <thesilkminer@outlook.com>
  • Loading branch information
TheSilkMiner committed May 21, 2022
1 parent cdbc232 commit e9c1844
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ final class TrundleFileChannel extends FileChannel {
this.read = read;
this.write = write;
this.position = position;
this.appending = position == 0L;
this.appending = position != 0L;
}

@Override
Expand Down

0 comments on commit e9c1844

Please sign in to comment.