commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [commons-pool] emopers opened a new pull request #26: Close BufferedOutputStream before calling toString on underlying BufferedOutputStream
Date Tue, 15 Oct 2019 14:17:30 GMT
emopers opened a new pull request #26: Close BufferedOutputStream before calling toString on
underlying BufferedOutputStream
URL: https://github.com/apache/commons-pool/pull/26
 
 
   When an `BufferedOutputStream` instance wraps an underlying `ByteArrayOutputStream` instance,
   it is [recommended](http://stackoverflow.com/questions/2984538/how-to-use-bytearrayoutputstream-and-dataoutputstream-simultaneously-java)
to flush or close the `BufferedOutputStream` before invoking the underlying instances's `toString()`.
   This pull request adds a call to the `flush` method before calls to the `toString` method.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message