From 8acdc28559efe6b242bb431c12c4361db3b4ddb5 Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Sat, 2 Apr 2011 13:22:09 +0000 Subject: [PATCH] make some fields final git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1088021 13f79535-47bb-0310-9956-ffa450edef68 --- lucene/src/java/org/apache/lucene/index/FieldInfo.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lucene/src/java/org/apache/lucene/index/FieldInfo.java b/lucene/src/java/org/apache/lucene/index/FieldInfo.java index 27cadc80d1f..84aff1a9e5a 100644 --- a/lucene/src/java/org/apache/lucene/index/FieldInfo.java +++ b/lucene/src/java/org/apache/lucene/index/FieldInfo.java @@ -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;