[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:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user