Skip to content

Commit 895adc2

Browse files
author
Stephane Landelle
committed
dammit
1 parent 1964472 commit 895adc2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

providers/grizzly/src/main/java/org/asynchttpclient/providers/grizzly/bodyhandler/PartsBodyHandler.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ public boolean doHandle(final FilterChainContext ctx,
6767
final FeedableBodyGenerator generator = new FeedableBodyGenerator() {
6868
@Override
6969
public Body createBody() throws IOException {
70-
return new MultipartBody(parts, contentType,
71-
String.valueOf(contentLength));
70+
return new MultipartBody(parts, contentType, contentLength);
7271
}
7372
};
7473
generator.setFeeder(new FeedableBodyGenerator.BaseFeeder(generator) {

0 commit comments

Comments
 (0)