Skip to content

Commit 8ba1940

Browse files
committed
Change comment.
JAVA-5816
1 parent e29638d commit 8ba1940

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver-core/src/main/com/mongodb/internal/connection/ByteBufferBsonOutput.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ protected int writeCharacters(final String str, final boolean checkNullTerminati
334334
}
335335
}
336336

337-
// We get here, when the buffer is not backed by an array, or when the string contains non-ASCII characters.
337+
// We get here, when the buffer is not backed by an array, or when the string contains at least one non-ASCII characters.
338338
return writeOnBuffers(str,
339339
checkNullTermination,
340340
sp,

0 commit comments

Comments
 (0)