This check prevents methods that do not throw a specific exception to declare they do. I think this would be beneficial for Lucene as many method implementation declare they throw IOExceptions when they do not perform any IO making consumer of those methods to have to handle this exceptions when they shouldn't.
Change is trivial but it touches many files.
This check prevents methods that do not throw a specific exception to declare they do. I think this would be beneficial for Lucene as many method implementation declare they throw IOExceptions when they do not perform any IO making consumer of those methods to have to handle this exceptions when they shouldn't.
Change is trivial but it touches many files.