jpountz commented on a change in pull request #546: LUCENE-8620: LatLonShape 
contains
URL: https://github.com/apache/lucene-solr/pull/546#discussion_r249821415
 
 

 ##########
 File path: 
lucene/sandbox/src/test/org/apache/lucene/document/TestLatLonMultiPolygonShapeQueries.java
 ##########
 @@ -57,6 +67,25 @@ protected ShapeType getShapeType() {
     return polygons;
   }
 
+  private boolean isDisjoint(Polygon[] polygons, List<Tessellator.Triangle> 
triangles, int totalPolygons) {
+    if (totalPolygons == 0) {
+      return true;
+    }
+    Polygon[] currentPolygons = new Polygon[totalPolygons];
+    for (int i =0; i < totalPolygons; i++) {
 
 Review comment:
   add a space between `=` and `0`?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to