You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by go...@apache.org on 2004/09/30 15:36:57 UTC
cvs commit: jakarta-lucene/src/java/org/apache/lucene/index FieldsWriter.java
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