[ https://issues.apache.org/jira/browse/LUCENE-9911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir resolved LUCENE-9911. --------------------------------- Fix Version/s: main (9.0) Resolution: Fixed > enable ecjLint unusedExceptionParameter > --------------------------------------- > > Key: LUCENE-9911 > URL: https://issues.apache.org/jira/browse/LUCENE-9911 > Project: Lucene - Core > Issue Type: Task > Reporter: Robert Muir > Priority: Major > Fix For: main (9.0) > > Time Spent: 20m > Remaining Estimate: 0h > > unusedExceptionParameter is a very useful check, as it detects if you catch > an exception and do nothing with it at all. > As a library, its important to preserve exceptions (e.g. chain the root > cause, .addSuppressed, etc). This check helps prevent exceptions from getting > swallowed inadvertently. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org