lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r829231 - /lucene/java/trunk/src/java/org/apache/lucene/queryParser/MultiFieldQueryParser.java
Date Fri, 23 Oct 2009 20:52:27 GMT
Author: uschindler
Date: Fri Oct 23 20:52:26 2009
New Revision: 829231

URL: http://svn.apache.org/viewvc?rev=829231&view=rev
Log:
Generics got lost during merge. Seen by the only unchecked warning (core now compiles without
any unchecked warning!)

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/queryParser/MultiFieldQueryParser.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/queryParser/MultiFieldQueryParser.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/queryParser/MultiFieldQueryParser.java?rev=829231&r1=829230&r2=829231&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/queryParser/MultiFieldQueryParser.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/queryParser/MultiFieldQueryParser.java Fri
Oct 23 20:52:26 2009
@@ -37,7 +37,7 @@
 public class MultiFieldQueryParser extends QueryParser
 {
   protected String[] fields;
-  protected Map<String,Float>      boosts;
+  protected Map<String,Float> boosts;
 
   /**
    * Creates a MultiFieldQueryParser. 
@@ -66,7 +66,7 @@
    * <p>In other words, all the query's terms must appear, but it doesn't matter in
    * what fields they appear.</p>
    */
-  public MultiFieldQueryParser(Version matchVersion, String[] fields, Analyzer analyzer,
Map boosts) {
+  public MultiFieldQueryParser(Version matchVersion, String[] fields, Analyzer analyzer,
Map<String,Float> boosts) {
     this(matchVersion, fields, analyzer);
     this.boosts = boosts;
   }



Mime
View raw message