Skip to content

Commit

Permalink
chore: use const variable
Browse files Browse the repository at this point in the history
  • Loading branch information
areyouok committed Jun 17, 2024
1 parent 798f046 commit a910404
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public ByteBuffer borrow() {
if (bufMagic != MAGIC) {
throw new DtException("A bug may exist where the buffer is written to after release.");
}
buf.putInt(0, 0);
buf.putInt(MAGIC_INDEX, 0);
statBorrowHitCount++;
}
return buf;
Expand Down

0 comments on commit a910404

Please sign in to comment.