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:
Aayush Atharva 2020-08-31 12:29:27 +05:30 committed by Norman Maurer
parent 26993b0d9c
commit 6e223b5427

View File

@ -359,7 +359,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: