Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public long getNormalBufferSize() {
}

public long getNormalBufferCount() {
return normalBufferSize.get();
return normalBufferCount.get();
}

private static class AccountedUnsafeDirectLittleEndian extends UnsafeDirectLittleEndian {
Expand Down Expand Up @@ -172,7 +172,7 @@ private UnsafeDirectLittleEndian newDirectBufferL(int initialCapacity, int maxCa
// within chunk, use arena.
ByteBuf buf = directArena.allocate(cache, initialCapacity, maxCapacity);
if (!(buf instanceof PooledUnsafeDirectByteBuf)) {
fail();
throw fail();
}

if (!AssertionUtil.ASSERT_ENABLED) {
Expand Down
Loading