furqaankhan commented on code in PR #1765:
URL: https://github.com/apache/sedona/pull/1765#discussion_r1927539659


##########
common/src/main/java/org/apache/sedona/common/Functions.java:
##########
@@ -1156,6 +1156,39 @@ public static Geometry lineMerge(Geometry geometry) {
     return geometry.getFactory().createGeometryCollection();
   }
 
+  public static Geometry[] lineSegments(Geometry geometry, boolean lenient) {
+    LineString line;
+    try {
+      line = (LineString) geometry;

Review Comment:
   No reason, I will change the implementation to use `instanceOf`, to make 
things consistent.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to