Skip to content

Apache Lucene open-source search software

Fix precommit.

Adrien Grand28576eb99d6b
diff --git a/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoDegeneratePath.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoDegeneratePath.java
index d1a452ca566..bba5a016c16 100644
--- a/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoDegeneratePath.java
+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoDegeneratePath.java
@@ -468,15 +468,6 @@ class GeoDegeneratePath extends GeoBasePath {
return this.point.isIdentical(x, y, z);
}
- public boolean isWithinSection(final double x, final double y, final double z) {
- for (final Membership cutoffPlane : cutoffPlanes) {
- if (!cutoffPlane.isWithin(x, y, z)) {
- return false;
- }
- }
- return true;
- }
-
/**
* Compute interior path distance.
*