Skip to content

Commit e6b3cf3

Browse files
committed
minor clean up
1 parent b3dd989 commit e6b3cf3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/src/main/java/org/asynchttpclient/request/body/generator/SimpleFeedableBodyGenerator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,13 @@ private BodyState readNextChunk(ByteBuf target) throws IOException {
7777
queue.remove();
7878
} else {
7979
res = BodyState.CONTINUE;
80-
readBodyChunk(target, nextPart);
80+
readChunk(target, nextPart);
8181
}
8282
}
8383
return res;
8484
}
8585

86-
private void readBodyChunk(ByteBuf target, BodyChunk part) {
86+
private void readChunk(ByteBuf target, BodyChunk part) {
8787
move(target, part.buffer);
8888

8989
if (!part.buffer.hasRemaining()) {

0 commit comments

Comments
 (0)