LUCENE-8968: Remove left-over line of code.

This commit is contained in:
iverase 2019-09-12 08:25:59 +02:00
parent 579fae5f0c
commit ef8c7a3ffc
1 changed files with 0 additions and 3 deletions

View File

@ -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);