diff --git a/pom.xml b/pom.xml index 9ee5cad51..855727727 100644 --- a/pom.xml +++ b/pom.xml @@ -48,7 +48,7 @@ 1.7 2.11 - 2.6.4 + 2.7.3 4.3.1 1.5 1.8 diff --git a/src/test/java/com/github/dockerjava/api/command/InspectExecResponseTest.java b/src/test/java/com/github/dockerjava/api/command/InspectExecResponseTest.java index cb9264d9f..997810115 100644 --- a/src/test/java/com/github/dockerjava/api/command/InspectExecResponseTest.java +++ b/src/test/java/com/github/dockerjava/api/command/InspectExecResponseTest.java @@ -21,7 +21,7 @@ public class InspectExecResponseTest { @Test public void test_1_22_SerDer1() throws Exception { final ObjectMapper mapper = new ObjectMapper(); - final JavaType type = mapper.getTypeFactory().uncheckedSimpleType(InspectExecResponse.class); + final JavaType type = mapper.getTypeFactory().constructType(InspectExecResponse.class); final InspectExecResponse execResponse = testRoundTrip(RemoteApiVersion.VERSION_1_22, "/exec/ID/1.json", diff --git a/src/test/java/com/github/dockerjava/api/model/AuthConfigTest.java b/src/test/java/com/github/dockerjava/api/model/AuthConfigTest.java index db1553e33..d9aa3f56c 100644 --- a/src/test/java/com/github/dockerjava/api/model/AuthConfigTest.java +++ b/src/test/java/com/github/dockerjava/api/model/AuthConfigTest.java @@ -24,7 +24,7 @@ public void defaultServerAddress() throws Exception { @Test public void serderDocs1() throws IOException { final ObjectMapper mapper = new ObjectMapper(); - final JavaType type = mapper.getTypeFactory().uncheckedSimpleType(AuthConfig.class); + final JavaType type = mapper.getTypeFactory().constructType(AuthConfig.class); final AuthConfig authConfig = testRoundTrip(RemoteApiVersion.VERSION_1_22, "/other/AuthConfig/docs1.json", @@ -46,7 +46,7 @@ public void serderDocs1() throws IOException { @Test public void serderDocs2() throws IOException { final ObjectMapper mapper = new ObjectMapper(); - final JavaType type = mapper.getTypeFactory().uncheckedSimpleType(AuthConfig.class); + final JavaType type = mapper.getTypeFactory().constructType(AuthConfig.class); final AuthConfig authConfig = testRoundTrip(RemoteApiVersion.VERSION_1_22, "/other/AuthConfig/docs2.json", diff --git a/src/test/java/com/github/dockerjava/api/model/VersionTest.java b/src/test/java/com/github/dockerjava/api/model/VersionTest.java index c32d93069..a801965e1 100644 --- a/src/test/java/com/github/dockerjava/api/model/VersionTest.java +++ b/src/test/java/com/github/dockerjava/api/model/VersionTest.java @@ -18,7 +18,7 @@ public class VersionTest { @Test public void testSerDer1() throws Exception { final ObjectMapper mapper = new ObjectMapper(); - final JavaType type = mapper.getTypeFactory().uncheckedSimpleType(Version.class); + final JavaType type = mapper.getTypeFactory().constructType(Version.class); final Version version = testRoundTrip(RemoteApiVersion.VERSION_1_22, "/version/1.json",