lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dna...@apache.org
Subject cvs commit: jakarta-lucene/src/java/org/apache/lucene/search BooleanScorer.java
Date Mon, 16 Aug 2004 11:41:22 GMT
dnaber      2004/08/16 04:41:22

  Modified:    src/java/org/apache/lucene/search BooleanScorer.java
  Log:
  use standard OR operator (||)  instead of binary OR (|) for cleaner code
  
  Revision  Changes    Path
  1.11      +1 -1      jakarta-lucene/src/java/org/apache/lucene/search/BooleanScorer.java
  
  Index: BooleanScorer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/BooleanScorer.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- BooleanScorer.java	6 Aug 2004 20:19:12 -0000	1.10
  +++ BooleanScorer.java	16 Aug 2004 11:41:22 -0000	1.11
  @@ -115,7 +115,7 @@
             more = true;
           }
         }
  -    } while (bucketTable.first != null | more);
  +    } while (bucketTable.first != null || more);
   
       return false;
     }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message