You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by GitBox <gi...@apache.org> on 2021/02/17 00:57:56 UTC

[GitHub] [commons-io] garydgregory edited a comment on pull request #204: Changed IndexOOB to ArrayIndexOOB

garydgregory edited a comment on pull request #204:
URL: https://github.com/apache/commons-io/pull/204#issuecomment-780218203


   -1: Probably a good idea but not in this form. Most (if not all) of Commons IO uses `IndexOutOfBoundsException` for this type of failure, so if you want to make such a change, it should be done consistently _throughout_ the code, not in just one random location. Currently I see 10 locations that throw  `IndexOutOfBoundsException`.


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