Apache Lucene open-source search software
improve the comment about the unused variable Submitted by: Boris Okner
Daniel Naberfe169b138e18
diff --git a/src/java/org/apache/lucene/analysis/ru/RussianStemmer.java b/src/java/org/apache/lucene/analysis/ru/RussianStemmer.javaindex a87f50c9967..302ad8ff016 100644--- a/src/java/org/apache/lucene/analysis/ru/RussianStemmer.java+++ b/src/java/org/apache/lucene/analysis/ru/RussianStemmer.java@@ -552,8 +552,9 @@ class RussianStemmerif (!perfectiveGerund(stemmingZone)){reflexive(stemmingZone);- // variable r is unused, we are just interested in the side effect of- // adjectival() or verb(), if adjectival() does nothing etc.:+ // variable r is unused, we are just interested in the flow that gets+ // created by logical expression: apply adjectival(); if that fails,+ // apply verb() etcboolean r =adjectival(stemmingZone)|| verb(stemmingZone)