We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 937bc35 commit 2deeffbCopy full SHA for 2deeffb
api/src/main/java/org/asynchttpclient/Response.java
@@ -22,7 +22,6 @@
22
import java.net.URI;
23
import java.nio.ByteBuffer;
24
import java.util.ArrayList;
25
-import java.util.Collections;
26
import java.util.List;
27
28
/**
@@ -183,7 +182,7 @@ public interface Response {
183
182
boolean hasResponseBody();
184
185
public static class ResponseBuilder {
186
- private final List<HttpResponseBodyPart> bodyParts = Collections.synchronizedList(new ArrayList<HttpResponseBodyPart>());
+ private final List<HttpResponseBodyPart> bodyParts = new ArrayList<HttpResponseBodyPart>();
187
private HttpResponseStatus status;
188
private HttpResponseHeaders headers;
189
0 commit comments