Apache Solr open-source search software
LUCENE-8968: Remove left-over line of code.
iveraseef8c7a3ffc2a
diff --git a/lucene/sandbox/src/java/org/apache/lucene/document/LatLonShapeBoundingBoxQuery.java b/lucene/sandbox/src/java/org/apache/lucene/document/LatLonShapeBoundingBoxQuery.javaindex e89aac8c13c..9f7f3267ff3 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);