mirror of https://github.com/apache/lucene.git
LUCENE-6740: Reduce warnings emitted by javac #3
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1696047 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d230abc5e7
commit
16f3f8e1b5
|
@ -18,6 +18,7 @@ package org.apache.lucene.queryparser.flexible.standard.config;
|
|||
*/
|
||||
|
||||
import java.text.NumberFormat;
|
||||
import java.util.Objects;
|
||||
|
||||
import org.apache.lucene.document.FieldType.NumericType;
|
||||
import org.apache.lucene.search.NumericRangeQuery;
|
||||
|
@ -156,4 +157,9 @@ public class NumericConfig {
|
|||
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(precisionStep, type, format);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue