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/09/12 06:26:46 UTC
[lucene-solr] branch branch_8x updated: LUCENE-8968: Remove
left-over line of code.
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 bc60ea0 LUCENE-8968: Remove left-over line of code.
bc60ea0 is described below
commit bc60ea0e06734369a2bd9b26a78ff51bdcc56f4d
Author: iverase <iv...@apache.org>
AuthorDate: Thu Sep 12 08:25:59 2019 +0200
LUCENE-8968: Remove left-over line of code.
---
.../java/org/apache/lucene/document/LatLonShapeBoundingBoxQuery.java | 3 ---
1 file changed, 3 deletions(-)
diff --git a/lucene/sandbox/src/java/org/apache/lucene/document/LatLonShapeBoundingBoxQuery.java b/lucene/sandbox/src/java/org/apache/lucene/document/LatLonShapeBoundingBoxQuery.java
index e89aac8..9f7f326 100644
--- a/lucene/sandbox/src/java/org/apache/lucene/document/LatLonShapeBoundingBoxQuery.java
+++ b/lucene/sandbox/src/java/org/apache/lucene/document/LatLonShapeBoundingBoxQuery.java
@@ -58,9 +58,6 @@ final class LatLonShapeBoundingBoxQuery extends ShapeQuery {
int cY = scratchTriangle.cY;
int cX = scratchTriangle.cX;
- if (queryRelation == QueryRelation.WITHIN) {
- return rectangle2D.containsTriangle(aX, aY, bX, bY, cX, cY);
- }
switch (queryRelation) {
case INTERSECTS: return rectangle2D.intersectsTriangle(aX, aY, bX, bY, cX, cY);
case WITHIN: return rectangle2D.containsTriangle(aX, aY, bX, bY, cX, cY);