[JAVA-16376] Moved spring-reactive-modules to jdk9-and-above profile (#13470)

* [JAVA-16376] Moved spring-reactive-modules to jdk9-and-above profile

* [JAVA-16376] Upgraded geotools dependencies and moved module to jdk9-and-above profile

* [JAVA-16376] Replaced vividsolutions artifact with  locationtech

* [JAVA-16376] Moved data-structures to jdk9-and-above profile

* [JAVA-16376] Moved deeplearning4j module to jdk9-and-above profile

---------

Co-authored-by: Dhawal Kapil <dhawalkapil@gmail.com>
This commit is contained in:
panos-kakos
2023-02-16 17:57:31 +02:00
committed by GitHub
parent 42f04eda64
commit db11ca931d
4 changed files with 32 additions and 25 deletions
@@ -1,8 +1,8 @@
package com.baeldung.geotools;
import com.vividsolutions.jts.geom.Coordinate;
import com.vividsolutions.jts.geom.GeometryFactory;
import com.vividsolutions.jts.geom.Point;
import org.locationtech.jts.geom.Coordinate;
import org.locationtech.jts.geom.GeometryFactory;
import org.locationtech.jts.geom.Point;
import org.geotools.data.DataUtilities;
import org.geotools.data.DefaultTransaction;
import org.geotools.data.Transaction;
@@ -35,7 +35,7 @@ public class ShapeFile {
DefaultFeatureCollection collection = new DefaultFeatureCollection();
GeometryFactory geometryFactory = JTSFactoryFinder.getGeometryFactory(null);
GeometryFactory geometryFactory = JTSFactoryFinder.getGeometryFactory(null);
SimpleFeatureType TYPE = DataUtilities.createType("Location", "location:Point:srid=4326," + "name:String");