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:
Uwe Schindler 2015-08-15 12:38:10 +00:00
parent d230abc5e7
commit 16f3f8e1b5
1 changed files with 6 additions and 0 deletions

View File

@ -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);
}
}