rajat315315 opened a new issue, #16314: URL: https://github.com/apache/lucene/issues/16314
### Description I have observed in below file that we are using around 44 if-else statements which is un-optimized as well as a bad code practice. https://github.com/apache/lucene/blob/b843b4c6c395cff92b72997c8f59b0579d68365d/lucene/analysis/common/src/java/org/apache/lucene/analysis/hunspell/Dictionary.java#L359 I think this should be solvable easily and therefore creating a small PR. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
