File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
netty-utils/src/main/java/org/asynchttpclient/netty/util Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -191,15 +191,15 @@ public String decode(ByteBuf buf) {
191191 if (buf .isDirect ()) {
192192 return buf .toString (UTF_8 );
193193 }
194- decodeHead0 (buf );
194+ decodeHeap0 (buf );
195195 return charBuffer .toString ();
196196 }
197197
198198 public char [] decodeChars (ByteBuf buf ) {
199199 if (buf .isDirect ()) {
200200 return buf .toString (UTF_8 ).toCharArray ();
201201 }
202- decodeHead0 (buf );
202+ decodeHeap0 (buf );
203203 return toCharArray (charBuffer );
204204 }
205205
@@ -231,7 +231,7 @@ public char[] decodeChars(ByteBuf... bufs) {
231231 }
232232 }
233233
234- private void decodeHead0 (ByteBuf buf ) {
234+ private void decodeHeap0 (ByteBuf buf ) {
235235 int length = buf .readableBytes ();
236236 ensureCapacity (length );
237237
You can’t perform that action at this time.
0 commit comments