Skip to content

Commit 2064391

Browse files
committed
Make Utf8ByteBufCharsetDecoder#ensureCapacity protected
1 parent cbd0465 commit 2064391

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netty-utils/src/main/java/org/asynchttpclient/netty/util/Utf8ByteBufCharsetDecoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ protected CharBuffer allocateCharBuffer(int l) {
9393
return CharBuffer.allocate(l);
9494
}
9595

96-
private void ensureCapacity(int l) {
96+
protected void ensureCapacity(int l) {
9797
if (charBuffer.position() == 0) {
9898
if (charBuffer.capacity() < l) {
9999
charBuffer = allocateCharBuffer(l);

0 commit comments

Comments
 (0)