lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kelv...@apache.org
Subject cvs commit: jakarta-lucene-sandbox/contributions/miscellaneous/src/java/org/apache/lucene/misc ChainedFilter.java
Date Mon, 23 Jun 2003 01:17:13 GMT
kelvint     2003/06/22 18:17:12

  Modified:    contributions/miscellaneous/src/java/org/apache/lucene/misc
                        ChainedFilter.java
  Log:
  Added breaks to switch/case statements.
  
  Revision  Changes    Path
  1.2       +5 -0      jakarta-lucene-sandbox/contributions/miscellaneous/src/java/org/apache/lucene/misc/ChainedFilter.java
  
  Index: ChainedFilter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene-sandbox/contributions/miscellaneous/src/java/org/apache/lucene/misc/ChainedFilter.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ChainedFilter.java	22 Apr 2003 02:25:17 -0000	1.1
  +++ ChainedFilter.java	23 Jun 2003 01:17:12 -0000	1.2
  @@ -244,14 +244,19 @@
           {
               case OR:
                   result.or(filter.bits(reader));
  +                break;
               case AND:
                   result.and(filter.bits(reader));
  +                break;
               case ANDNOT:
                   result.andNot(filter.bits(reader));
  +                break;
               case XOR:
                   result.xor(filter.bits(reader));
  +                break;
               default:
                   doChain(result, reader, DEFAULT, filter);
  +                break;          
           }
       }
   }
  
  
  

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