Minor typo (#10518)
Motivation: I was working on the transport part in Netty (ofc, solving a major issue) and I found this typo so thought to fix it. Modification: Fixed Typo Result: No more confusion between `us` and `use`.
This commit is contained in:
parent
b908c82b7b
commit
ee77fad3f8
@ -392,7 +392,7 @@ public class NioSocketChannel extends AbstractNioByteChannel implements io.netty
|
||||
ByteBuffer[] nioBuffers = in.nioBuffers(1024, maxBytesPerGatheringWrite);
|
||||
int nioBufferCnt = in.nioBufferCount();
|
||||
|
||||
// Always us nioBuffers() to workaround data-corruption.
|
||||
// Always use nioBuffers() to workaround data-corruption.
|
||||
// See https://github.com/netty/netty/issues/2761
|
||||
switch (nioBufferCnt) {
|
||||
case 0:
|
||||
|
Loading…
Reference in New Issue
Block a user