lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gol...@apache.org
Subject cvs commit: jakarta-lucene/src/java/org/apache/lucene/index FieldsWriter.java
Date Thu, 30 Sep 2004 13:36:57 GMT
goller      2004/09/30 06:36:57

  Modified:    src/java/org/apache/lucene/index FieldsWriter.java
  Log:
  Use byte instead of short as bit-mask.
  No functional change.
  
  Revision  Changes    Path
  1.7       +3 -3      jakarta-lucene/src/java/org/apache/lucene/index/FieldsWriter.java
  
  Index: FieldsWriter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/index/FieldsWriter.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- FieldsWriter.java	30 Sep 2004 12:40:26 -0000	1.6
  +++ FieldsWriter.java	30 Sep 2004 13:36:57 -0000	1.7
  @@ -28,9 +28,9 @@
   
   final class FieldsWriter
   {
  -  static final short FIELD_IS_TOKENIZED = 1;
  -  static final short FIELD_IS_BINARY = 2;
  -  static final short FIELD_IS_COMPRESSED = 4;
  +  static final byte FIELD_IS_TOKENIZED = 0x1;
  +  static final byte FIELD_IS_BINARY = 0x2;
  +  static final byte FIELD_IS_COMPRESSED = 0x4;
     
       private FieldInfos fieldInfos;
   
  
  
  

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