mirror of https://github.com/apache/lucene.git
remove compiler warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1307095 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e3374c9c9b
commit
13745b230d
|
@ -20,6 +20,7 @@ package org.apache.lucene.queries.function;
|
|||
import org.apache.lucene.search.*;
|
||||
import org.apache.lucene.index.AtomicReaderContext;
|
||||
import org.apache.lucene.index.IndexReader;
|
||||
import org.apache.lucene.index.Term;
|
||||
import org.apache.lucene.util.Bits;
|
||||
import org.apache.lucene.util.ToStringUtils;
|
||||
|
||||
|
@ -52,7 +53,7 @@ public class BoostedQuery extends Query {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void extractTerms(Set terms) {
|
||||
public void extractTerms(Set<Term> terms) {
|
||||
q.extractTerms(terms);
|
||||
}
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@ package org.apache.lucene.queries.function;
|
|||
|
||||
import org.apache.lucene.index.AtomicReaderContext;
|
||||
import org.apache.lucene.index.IndexReader;
|
||||
import org.apache.lucene.index.Term;
|
||||
import org.apache.lucene.search.*;
|
||||
import org.apache.lucene.index.MultiFields;
|
||||
import org.apache.lucene.util.Bits;
|
||||
|
@ -57,7 +58,7 @@ public class FunctionQuery extends Query {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void extractTerms(Set terms) {}
|
||||
public void extractTerms(Set<Term> terms) {}
|
||||
|
||||
protected class FunctionWeight extends Weight {
|
||||
protected IndexSearcher searcher;
|
||||
|
|
Loading…
Reference in New Issue