rproserpio commented on PR #609:
URL: https://github.com/apache/commons-io/pull/609#issuecomment-2038335346

   @garydgregory I'm confident on the part of keeping the same behavior for 
zero and negatives thresholds. However:
   
   > Writing zero bytes writes nothing, so there is nothing to reach until you 
at least write one byte.
   
   This  assertion leaves me a bit uneasy, it's a possible behavior change. Not 
that I think writing zero bytes is really something that is often done, but you 
never know what inheritors do with classes designed to be extended.
   Before 2.16, writing a zero byte array to a stream with negative threshold 
would have triggered the event. However I can't think of a reason we would want 
this.
   
   
   


-- 
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]

Reply via email to