Skip to content

Commit 8b25da1

Browse files
committed
MINOR: fix getNormalBufferCount
This used to return size, which is wrong.
1 parent 00ea39b commit 8b25da1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

memory/memory-netty-buffer-patch/src/main/java/io/netty/buffer/PooledByteBufAllocatorL.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public long getNormalBufferSize() {
8282
}
8383

8484
public long getNormalBufferCount() {
85-
return normalBufferSize.get();
85+
return normalBufferCount.get();
8686
}
8787

8888
private static class AccountedUnsafeDirectLittleEndian extends UnsafeDirectLittleEndian {

0 commit comments

Comments
 (0)