dnaber      2004/08/14 07:14:45

  Modified:    src/java/org/apache/lucene/analysis/ru RussianStemmer.java
  Log:
  improve the comment about the unused variable
  Submitted by: Boris Okner
  
  Revision  Changes    Path
  1.7       +4 -3      
jakarta-lucene/src/java/org/apache/lucene/analysis/ru/RussianStemmer.java
  
  Index: RussianStemmer.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-lucene/src/java/org/apache/lucene/analysis/ru/RussianStemmer.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- RussianStemmer.java       14 Aug 2004 11:14:37 -0000      1.6
  +++ RussianStemmer.java       14 Aug 2004 14:14:45 -0000      1.7
  @@ -552,8 +552,9 @@
           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)

  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to