From 37c37be6b9c1abe41518cb759a541f294d6eeff8 Mon Sep 17 00:00:00 2001 From: James Hart Date: Thu, 11 Nov 2021 08:37:26 +0000 Subject: [PATCH] fix(project): Bump core SDK version again to fix class case issue Signed-off-by: James Hart --- .../container_registry/v1/ContainerRegistryIT.java | 3 ++- pom.xml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/container-registry/src/test/java/com/ibm/cloud/container_registry/container_registry/v1/ContainerRegistryIT.java b/modules/container-registry/src/test/java/com/ibm/cloud/container_registry/container_registry/v1/ContainerRegistryIT.java index ee096b8..5df435c 100644 --- a/modules/container-registry/src/test/java/com/ibm/cloud/container_registry/container_registry/v1/ContainerRegistryIT.java +++ b/modules/container-registry/src/test/java/com/ibm/cloud/container_registry/container_registry/v1/ContainerRegistryIT.java @@ -68,6 +68,7 @@ import com.ibm.cloud.sdk.core.service.exception.ServiceResponseException; import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; import com.ibm.cloud.sdk.core.util.CredentialUtils; +import com.google.gson.internal.LazilyParsedNumber; import java.io.InputStream; import java.util.ArrayList; import java.util.Arrays; @@ -396,7 +397,7 @@ public void testGetImageManifest() throws Exception { assertNotNull(resultResult); - double version = (double)(resultResult.get("schemaVersion")); + double version = ((Number)resultResult.get("schemaVersion")).doubleValue(); double expected = 2; assertEquals(version, expected); } catch (ServiceResponseException e) { diff --git a/pom.xml b/pom.xml index 38df587..fb9397b 100644 --- a/pom.xml +++ b/pom.xml @@ -26,7 +26,7 @@ of the SDK generator used to generate your SDK code. See this link for details: https://github.ibm.com/CloudEngineering/openapi-sdkgen/wiki/Compatibility-Chart --> - 9.13.4 + 9.14.1 container-registry-java-sdk