Skip to content

Commit 45319b7

Browse files
committed
Make Utf8ByteBufCharsetDecoder#ensureCapacity protected
1 parent a96983f commit 45319b7

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
@@ -55,7 +55,7 @@ protected CharBuffer allocateCharBuffer(int l) {
5555
return CharBuffer.allocate(l);
5656
}
5757

58-
private void ensureCapacity(int l) {
58+
protected void ensureCapacity(int l) {
5959
if (charBuffer.position() == 0) {
6060
if (charBuffer.capacity() < l) {
6161
charBuffer = allocateCharBuffer(l);

0 commit comments

Comments
 (0)