mirror of https://github.com/apache/lucene.git
LUCENE-8587: Fix the equals method of GeoComplexPolygon
This commit is contained in:
parent
874937aba8
commit
2edf5adedc
|
@ -1777,7 +1777,7 @@ class GeoComplexPolygon extends GeoBasePolygon {
|
|||
return false;
|
||||
final GeoComplexPolygon other = (GeoComplexPolygon) o;
|
||||
return super.equals(other) && testPoint1InSet == other.testPoint1InSet
|
||||
&& testPoint1.equals(testPoint1)
|
||||
&& testPoint1.equals(other.testPoint1)
|
||||
&& pointsList.equals(other.pointsList);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue