mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 18:35:25 +00:00
Fixed typo in geoshape exception
Invaild -> Invalid
This commit is contained in:
parent
75cc7077c7
commit
0d9fad79e0
@ -366,7 +366,7 @@ public abstract class BasePolygonBuilder<E extends BasePolygonBuilder<E>> extend
|
||||
final int pos;
|
||||
if (intersections == 0 ||
|
||||
(pos = Arrays.binarySearch(edges, 0, intersections, current, INTERSECTION_ORDER)) >= 0) {
|
||||
throw new ElasticsearchParseException("Invaild shape: Hole is not within polygon");
|
||||
throw new ElasticsearchParseException("Invalid shape: Hole is not within polygon");
|
||||
}
|
||||
final int index = -(pos+2);
|
||||
final int component = -edges[index].component - numHoles - 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user