dweiss commented on a change in pull request #2229: URL: https://github.com/apache/lucene-solr/pull/2229#discussion_r562486256
########## File path: lucene/analysis/common/src/java/org/apache/lucene/analysis/hunspell/Stemmer.java ########## @@ -588,6 +585,12 @@ private boolean checkCondition( return stems; } + private boolean isFlagAppendedByAffix(int affixId, char flag) { + if (affixId < 0) return false; Review comment: The discussion of whether braces in single-line statements in if/while/for loops are needed or not is like religion - you can't end it, once started... I'm just relaying what has been said on the mailing list after the formatter folded code like this: ``` if (foo) doSomething() else doSomethingElse() ``` Privately, I don't have a strong opinion. Depends on the context where it's at, I guess. ---------------------------------------------------------------- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org