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
This commit is contained in:
Daniel Naber 2004-08-14 14:14:45 +00:00
parent 3515b30029
commit fe169b138e
1 changed files with 3 additions and 2 deletions

View File

@ -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)