xcx1r3 opened a new issue, #14719: URL: https://github.com/apache/lucene/issues/14719
### Description In `org.apache.lucene.analysis.cn.smart.hhmm.WordDictionary#loadMainDataFromFile`, the resouce `DataInputStream dctFile` could be leaked upon exception. It can be fixed by using the try-with-resources construct. -- 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: issues-unsubscr...@lucene.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org