garydgregory commented on a change in pull request #89: Added TeeReader.
URL: https://github.com/apache/commons-io/pull/89#discussion_r311121246
 
 

 ##########
 File path: src/test/java/org/apache/commons/io/input/TeeInputStreamTest.java
 ##########
 @@ -30,6 +32,52 @@
  */
 public class TeeInputStreamTest  {
 
+    private static class ExceptionOnCloseByteArrayInputStream extends 
ByteArrayInputStream {
 
 Review comment:
   @robtimus ,
   
   Instead of creating these one-off classes, you should reuse and/or possibly 
refactor `YellOnFlushAndCloseOutputStream`, `ClosedOutputStream`, or 
`CloseShieldOutputStream`.
   
   May you please give that a try?
   
   Gary

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to