Remove the declaration of thrown exception 51/19651/1
authorRamanjaneya-Huawei <ramanjaneya.palleti@huawei.com>
Thu, 19 Oct 2017 05:40:56 +0000 (11:10 +0530)
committerRamanjaneya-Huawei <ramanjaneya.palleti@huawei.com>
Thu, 19 Oct 2017 05:43:13 +0000 (11:13 +0530)
'org.codehaus.jackson.JsonProcessingException'
 which is a subclass of 'java.io.IOException'

Change-Id: I29ddf71ad7166824dd3fdc8e3aa40fb5d482b4c0
Issue-id: SO-224
Signed-off-by: Ramanjaneya-Huawei <ramanjaneya.palleti@huawei.com>
adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/cloud/IdentityAuthenticationTypeJsonSerializer.java

index 0777c60..052f09a 100644 (file)
@@ -22,17 +22,15 @@ package org.openecomp.mso.cloud;
 import java.io.IOException;\r
 \r
 import org.codehaus.jackson.JsonGenerator;\r
-import org.codehaus.jackson.JsonProcessingException;\r
 import org.codehaus.jackson.map.JsonSerializer;\r
 import org.codehaus.jackson.map.SerializerProvider;\r
-import org.openecomp.mso.cloud.CloudIdentity.IdentityServerType;\r
 \r
 \r
 public class IdentityAuthenticationTypeJsonSerializer extends JsonSerializer<IdentityAuthenticationTypeAbstract> {\r
 \r
        @Override\r
        public void serialize(IdentityAuthenticationTypeAbstract tmpObj, JsonGenerator jsonGenerator, SerializerProvider serializerProvider)\r
-                       throws IOException, JsonProcessingException {\r
+                       throws IOException {\r
                jsonGenerator.writeObject(tmpObj.toString());\r
        }\r
 }\r