From 1686dac7f958df5b676d63f892e4422012a9f251 Mon Sep 17 00:00:00 2001 From: Uwe Schindler Date: Fri, 23 Oct 2009 20:52:26 +0000 Subject: [PATCH] Generics got lost during merge. Seen by the only unchecked warning (core now compiles without any unchecked warning!) git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829231 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/lucene/queryParser/MultiFieldQueryParser.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java/org/apache/lucene/queryParser/MultiFieldQueryParser.java b/src/java/org/apache/lucene/queryParser/MultiFieldQueryParser.java index 6c9e4cdee75..e6a10fb5791 100644 --- a/src/java/org/apache/lucene/queryParser/MultiFieldQueryParser.java +++ b/src/java/org/apache/lucene/queryParser/MultiFieldQueryParser.java @@ -37,7 +37,7 @@ import org.apache.lucene.util.Version; public class MultiFieldQueryParser extends QueryParser { protected String[] fields; - protected Map boosts; + protected Map boosts; /** * Creates a MultiFieldQueryParser. @@ -66,7 +66,7 @@ public class MultiFieldQueryParser extends QueryParser *

In other words, all the query's terms must appear, but it doesn't matter in * what fields they appear.

*/ - public MultiFieldQueryParser(Version matchVersion, String[] fields, Analyzer analyzer, Map boosts) { + public MultiFieldQueryParser(Version matchVersion, String[] fields, Analyzer analyzer, Map boosts) { this(matchVersion, fields, analyzer); this.boosts = boosts; }