Skip to content

Commit 1bc094c

Browse files
vbabaninstIncMale
andauthored
Update bson/src/main/org/bson/io/ByteBufferBsonInput.java
Co-authored-by: Valentin Kovalenko <valentin.male.kovalenko@gmail.com>
1 parent 67e2bae commit 1bc094c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bson/src/main/org/bson/io/ByteBufferBsonInput.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ private int computeCStringLength(final int prevPos) {
193193

194194
// `>>> 3` means dividing without remainder by `Long.BYTES` because `Long.BYTES` is 2^3
195195
int chunks = (limit - pos) >>> 3;
196-
// Process 8 bytes at a time.
196+
// Process `Long.BYTES` at a time.
197197
for (int i = 0; i < chunks; i++) {
198198
long word = buffer.getLong(pos);
199199
/*

0 commit comments

Comments
 (0)