From fe169b138e180b56c758a30de0228d41bcde819d Mon Sep 17 00:00:00 2001 From: Daniel Naber Date: Sat, 14 Aug 2004 14:14:45 +0000 Subject: [PATCH] improve the comment about the unused variable Submitted by: Boris Okner git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150428 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/lucene/analysis/ru/RussianStemmer.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/java/org/apache/lucene/analysis/ru/RussianStemmer.java b/src/java/org/apache/lucene/analysis/ru/RussianStemmer.java index 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 RussianStemmer if (!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() etc boolean r = adjectival(stemmingZone) || verb(stemmingZone)