diff --git a/sdk/keyvault/azure-security-keyvault-jca/src/test/java/com/azure/security/keyvault/jca/implementation/utils/JsonConverterUtilTest.java b/sdk/keyvault/azure-security-keyvault-jca/src/test/java/com/azure/security/keyvault/jca/implementation/utils/JsonConverterUtilTest.java index 413dc49edde2f..e9944497cb807 100644 --- a/sdk/keyvault/azure-security-keyvault-jca/src/test/java/com/azure/security/keyvault/jca/implementation/utils/JsonConverterUtilTest.java +++ b/sdk/keyvault/azure-security-keyvault-jca/src/test/java/com/azure/security/keyvault/jca/implementation/utils/JsonConverterUtilTest.java @@ -22,7 +22,7 @@ public class JsonConverterUtilTest { @Test public void testFromJson() throws IOException { String string = "{ \"cer\": \"cer\" }"; - CertificateBundle bundle = (CertificateBundle) JsonConverterUtil.fromJson(CertificateBundle.class, string); + CertificateBundle bundle = JsonConverterUtil.fromJson(CertificateBundle.class, string); assertNotNull(bundle); assertEquals("cer", bundle.getCer()); @@ -30,7 +30,6 @@ public void testFromJson() throws IOException { /** * Test toJson method. - * */ @Test public void testToJson() {