Skip to content

Commit 55ba0b1

Browse files
committed
Change 'by' to 'thereby' for correct implication.
JAVA-5842
1 parent 674c155 commit 55ba0b1

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
@@ -214,7 +214,7 @@ private int computeCStringLength(final int prevPos) {
214214
00000000 00000000 11111111 00000000 00000001 00000001 00000000 00000111
215215
216216
ANDing mask with 0x8080808080808080 isolates the high bit (0x80) in positions where
217-
the original byte was 0x00, by setting the high bit to 1 only at the 0x00 byte position.
217+
the original byte was 0x00, thereby setting the high bit to 1 only at the 0x00 byte position.
218218
219219
result:
220220
00000000 00000000 10000000 00000000 00000000 00000000 00000000 00000000

0 commit comments

Comments
 (0)