diff --git a/.travis.yml b/.travis.yml
index 4c62637..4df0da6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,6 @@
language: java
jdk:
- - oraclejdk8
+ - openjdk8
install: true
script: mvn clean test
cache:
diff --git a/pom.xml b/pom.xml
index 11729f6..52e5e50 100644
--- a/pom.xml
+++ b/pom.xml
@@ -152,14 +152,14 @@
com.google.protobuf
protobuf-java
- 3.5.1
+ 3.6.1
org.locationtech.jts
jts-core
- 1.15.1
+ 1.16.0
diff --git a/src/test/java/com/wdtinc/mapbox_vector_tile/adapt/jts/MvtReaderTest.java b/src/test/java/com/wdtinc/mapbox_vector_tile/adapt/jts/MvtReaderTest.java
index cc79b4f..4981c8a 100644
--- a/src/test/java/com/wdtinc/mapbox_vector_tile/adapt/jts/MvtReaderTest.java
+++ b/src/test/java/com/wdtinc/mapbox_vector_tile/adapt/jts/MvtReaderTest.java
@@ -28,10 +28,9 @@
public final class MvtReaderTest {
private static final double DOUBLE_DELTA = 1e-10;
-
- private static final int NUMBER_OF_DIMENSIONS = 2;
+
private static final int SRID = 0;
-
+
@Test
public void testLayers() {
try {
@@ -147,11 +146,10 @@ private static JtsMvt loadMvt(String file,
new TagKeyValueMapConverter(),
ringClassifier);
}
-
+
private static GeometryFactory createGeometryFactory() {
final PrecisionModel precisionModel = new PrecisionModel();
- final PackedCoordinateSequenceFactory coordinateSequenceFactory =
- new PackedCoordinateSequenceFactory(PackedCoordinateSequenceFactory.DOUBLE, NUMBER_OF_DIMENSIONS);
+ final PackedCoordinateSequenceFactory coordinateSequenceFactory = new PackedCoordinateSequenceFactory();
return new GeometryFactory(precisionModel, SRID, coordinateSequenceFactory);
}
}