You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2015/08/15 14:39:12 UTC

svn commit: r1696048 - in /lucene/dev/branches/branch_5x: ./ lucene/ lucene/queryparser/ lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/standard/config/NumericConfig.java

Author: uschindler
Date: Sat Aug 15 12:39:12 2015
New Revision: 1696048

URL: http://svn.apache.org/r1696048
Log:
Merged revision(s) 1696047 from lucene/dev/trunk:
LUCENE-6740: Reduce warnings emitted by javac #3

Modified:
    lucene/dev/branches/branch_5x/   (props changed)
    lucene/dev/branches/branch_5x/lucene/   (props changed)
    lucene/dev/branches/branch_5x/lucene/queryparser/   (props changed)
    lucene/dev/branches/branch_5x/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/standard/config/NumericConfig.java

Modified: lucene/dev/branches/branch_5x/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/standard/config/NumericConfig.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/standard/config/NumericConfig.java?rev=1696048&r1=1696047&r2=1696048&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/standard/config/NumericConfig.java (original)
+++ lucene/dev/branches/branch_5x/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/standard/config/NumericConfig.java Sat Aug 15 12:39:12 2015
@@ -18,6 +18,7 @@ package org.apache.lucene.queryparser.fl
  */
 
 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);
+  }
+  
 }