Skip to content

Commit

Permalink
Fix import of java.awt.Point instead of JTS Point
Browse files Browse the repository at this point in the history
  • Loading branch information
groldan committed Jun 19, 2024
1 parent 40f4a1c commit 02f9dda
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.*;
Expand All @@ -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());
Expand Down Expand Up @@ -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();

Expand Down

0 comments on commit 02f9dda

Please sign in to comment.