craigtaverner commented on code in PR #946:
URL: https://github.com/apache/lucene/pull/946#discussion_r892428974


##########
lucene/core/src/java/org/apache/lucene/geo/Tessellator.java:
##########
@@ -131,16 +136,24 @@ public static List<Triangle> tessellate(final Polygon 
polygon, boolean checkSelf
     }
     // Calculate the tessellation using the doubly LinkedList.
     List<Triangle> result =
-        earcutLinkedList(polygon, outerNode, new ArrayList<>(), State.INIT, 
mortonOptimized);
+        earcutLinkedList(
+            polygon, outerNode, new ArrayList<>(), State.INIT, 
mortonOptimized, monitor, 0);
     if (result.size() == 0) {
+      notifyMonitor("FAILED", monitor, null, result);

Review Comment:
   Good idea



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to