make some fields final

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1088021 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2011-04-02 13:22:09 +00:00
parent e9bee5e152
commit 8acdc28559
1 changed files with 4 additions and 2 deletions

View File

@ -20,9 +20,11 @@ package org.apache.lucene.index;
/** @lucene.experimental */
public final class FieldInfo {
public static final int UNASSIGNED_CODEC_ID = -1;
public String name;
public final String name;
public final int number;
public boolean isIndexed;
public int number;
// true if term vector for this field should be stored
boolean storeTermVector;