You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by iv...@apache.org on 2019/07/18 05:21:48 UTC

[lucene-solr] branch branch_8x updated: LUCENE-8913: Fix test bug in BaseLatLonShapeTestCase#testBoxQueryEqualsAndHashcode

This is an automated email from the ASF dual-hosted git repository.

ivera pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/branch_8x by this push:
     new 6f2ff21  LUCENE-8913: Fix test bug in BaseLatLonShapeTestCase#testBoxQueryEqualsAndHashcode
6f2ff21 is described below

commit 6f2ff2157db802789ea840454068c19c509ba75c
Author: iverase <iv...@apache.org>
AuthorDate: Thu Jul 18 07:20:51 2019 +0200

    LUCENE-8913: Fix test bug in BaseLatLonShapeTestCase#testBoxQueryEqualsAndHashcode
---
 .../src/test/org/apache/lucene/document/BaseLatLonShapeTestCase.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lucene/sandbox/src/test/org/apache/lucene/document/BaseLatLonShapeTestCase.java b/lucene/sandbox/src/test/org/apache/lucene/document/BaseLatLonShapeTestCase.java
index b74bfcc..0ca3563 100644
--- a/lucene/sandbox/src/test/org/apache/lucene/document/BaseLatLonShapeTestCase.java
+++ b/lucene/sandbox/src/test/org/apache/lucene/document/BaseLatLonShapeTestCase.java
@@ -115,7 +115,7 @@ public abstract class BaseLatLonShapeTestCase extends BaseShapeTestCase {
     }
     //different shape
     Rectangle newRectangle = GeoTestUtil.nextBox();
-    Query q5 = newRectQuery(fieldName, queryRelation, rectangle.minLon, rectangle.maxLon, newRectangle.minLat, newRectangle.maxLat);
+    Query q5 = newRectQuery(fieldName, queryRelation, newRectangle.minLon, newRectangle.maxLon, newRectangle.minLat, newRectangle.maxLat);
     if (rectangle.equals(newRectangle)) {
       QueryUtils.checkEqual(q1, q5);
     } else {