slackhappy commented on a change in pull request #354:
URL:
https://github.com/apache/httpcomponents-client/pull/354#discussion_r827460938
##########
File path:
httpclient5/src/main/java/org/apache/hc/client5/http/entity/mime/StringBody.java
##########
@@ -70,13 +70,7 @@ public Reader getReader() {
@Override
public void writeTo(final OutputStream out) throws IOException {
Args.notNull(out, "Output stream");
- final InputStream in = new ByteArrayInputStream(this.content);
Review comment:
oh good catch! will fix
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]