From 02f9ddaad1fd4d85312796f6e26039cb55672b29 Mon Sep 17 00:00:00 2001 From: Gabriel Roldan Date: Wed, 19 Jun 2024 12:07:41 -0300 Subject: [PATCH] Fix import of java.awt.Point instead of JTS Point --- .../SimpleJsonFeatureCollectionHttpMessageConverterTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/services/ogc-features/src/test/java/com/camptocamp/opendata/ogc/features/http/codec/json/SimpleJsonFeatureCollectionHttpMessageConverterTest.java b/src/services/ogc-features/src/test/java/com/camptocamp/opendata/ogc/features/http/codec/json/SimpleJsonFeatureCollectionHttpMessageConverterTest.java index fb39353..2390650 100644 --- a/src/services/ogc-features/src/test/java/com/camptocamp/opendata/ogc/features/http/codec/json/SimpleJsonFeatureCollectionHttpMessageConverterTest.java +++ b/src/services/ogc-features/src/test/java/com/camptocamp/opendata/ogc/features/http/codec/json/SimpleJsonFeatureCollectionHttpMessageConverterTest.java @@ -9,6 +9,7 @@ import org.geotools.feature.simple.SimpleFeatureBuilder; import org.geotools.feature.simple.SimpleFeatureTypeBuilder; import org.junit.jupiter.api.Test; +import org.locationtech.jts.geom.Point; import org.springframework.mock.http.MockHttpOutputMessage; import java.awt.*; @@ -17,7 +18,7 @@ import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.containsString; -public class SimpleJsonFeatureCollectionHttpMessageConverterTest { +class SimpleJsonFeatureCollectionHttpMessageConverterTest { private SimpleFeatureCollection features() { SimpleFeatureBuilder fb = new SimpleFeatureBuilder(featureType()); @@ -49,7 +50,7 @@ private FeatureCollection featureCollection() { } @Test - public void testJavaSqlTimeStampsAsISO8601Dates() throws Exception { + void testJavaSqlTimeStampsAsISO8601Dates() throws Exception { SimpleJsonFeatureCollectionHttpMessageConverter converter = new SimpleJsonFeatureCollectionHttpMessageConverter(); MockHttpOutputMessage message = new MockHttpOutputMessage();