Skip to content

Apache Lucene open-source search software

LUCENE-7906: Add missing override, fixing javadoc

Karl Wrightc6ae04966272
diff --git a/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoCompositeAreaShape.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoCompositeAreaShape.java
index c7ad81d99d5..5e2f9975a2b 100644
--- a/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoCompositeAreaShape.java
+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoCompositeAreaShape.java
@@ -18,7 +18,7 @@
package org.apache.lucene.spatial3d.geom;
/**
- * GeoCompositeAreShape is a set of GeoAreaShape's, treated as a unit.
+ * GeoCompositeAreaShape is a set of GeoAreaShape's, treated as a unit.
*
* @lucene.experimental
*/
@@ -37,6 +37,7 @@ public class GeoCompositeAreaShape extends GeoCompositeMembershipShape implement
shapes.add(shape);
}
+ @Override
public boolean intersects(GeoShape geoShape){
for(GeoShape inShape : shapes){
if (((GeoAreaShape)inShape).intersects(geoShape)){