Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

Commit

Permalink
Merged revision(s) 1696047 from lucene/dev/trunk:
Browse files Browse the repository at this point in the history
LUCENE-6740: Reduce warnings emitted by javac #3

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1696048 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
uschindler committed Aug 15, 2015
1 parent 1568ee5 commit e5e3dd7
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*/

import java.text.NumberFormat;
import java.util.Objects;

import org.apache.lucene.document.FieldType.NumericType;
import org.apache.lucene.search.NumericRangeQuery;
Expand Down Expand Up @@ -156,4 +157,9 @@ public boolean equals(Object obj) {

}

@Override
public int hashCode() {
return Objects.hash(precisionStep, type, format);
}

}

0 comments on commit e5e3dd7

Please # to comment.