ppkarwasz opened a new pull request, #716:
URL: https://github.com/apache/commons-compress/pull/716

   This change replaces custom argument checks in all `InputStream` and 
`OutputStream` implementations with the common utility method 
`IOUtils.checkIndexFromSize`. This ensures consistent validation logic across 
the codebase.
   
   Some implementations are intentionally left unchanged: cases where the 
arguments are immediately delegated to methods such as `InputStream#read`, 
`OutputStream#write`, or `ByteBuffer#wrap`, which already perform equivalent 
checks internally.
   


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