This is an automated email from the ASF dual-hosted git repository.

jiayu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sedona.git


The following commit(s) were added to refs/heads/master by this push:
     new 9a774cde0 [SEDONA-621] Remove redundant call to `toString()` (#1511)
9a774cde0 is described below

commit 9a774cde04f14344e89a54049cd12a094f03f4c2
Author: John Bampton <[email protected]>
AuthorDate: Tue Jul 9 14:33:20 2024 +1000

    [SEDONA-621] Remove redundant call to `toString()` (#1511)
---
 flink/src/test/java/org/apache/sedona/flink/FunctionTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flink/src/test/java/org/apache/sedona/flink/FunctionTest.java 
b/flink/src/test/java/org/apache/sedona/flink/FunctionTest.java
index c00957722..08c8632b1 100644
--- a/flink/src/test/java/org/apache/sedona/flink/FunctionTest.java
+++ b/flink/src/test/java/org/apache/sedona/flink/FunctionTest.java
@@ -394,7 +394,7 @@ public class FunctionTest extends TestBase {
     Table table = tableEnv.sqlQuery("SELECT ST_GeomFromWKT('LINESTRING(1 1, 2 
2, 3 3)') AS geom");
     table = table.select(call(Functions.ST_GeometryType.class.getSimpleName(), 
$("geom")));
     String result = (String) first(table).getField(0);
-    assertEquals("ST_LineString", result.toString());
+    assertEquals("ST_LineString", result);
   }
 
   @Test

Reply via email to