diff options
author | Ramanjaneya-Huawei <ramanjaneya.palleti@huawei.com> | 2017-10-19 11:10:56 +0530 |
---|---|---|
committer | Ramanjaneya-Huawei <ramanjaneya.palleti@huawei.com> | 2017-10-19 11:13:13 +0530 |
commit | ed3b2509d32fecc29f92be5922bf5df9c5d1a120 (patch) | |
tree | d5b873a4312e09b058ea4fee567a1603308e9a92 | |
parent | e4dcd8481197a791dad33d59e39d4129ed8eec59 (diff) |
Remove the declaration of thrown exception
'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>
-rw-r--r-- | adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/cloud/IdentityAuthenticationTypeJsonSerializer.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/cloud/IdentityAuthenticationTypeJsonSerializer.java b/adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/cloud/IdentityAuthenticationTypeJsonSerializer.java index 0777c60278..052f09ab85 100644 --- a/adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/cloud/IdentityAuthenticationTypeJsonSerializer.java +++ b/adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/cloud/IdentityAuthenticationTypeJsonSerializer.java @@ -22,17 +22,15 @@ package org.openecomp.mso.cloud; import java.io.IOException;
import org.codehaus.jackson.JsonGenerator;
-import org.codehaus.jackson.JsonProcessingException;
import org.codehaus.jackson.map.JsonSerializer;
import org.codehaus.jackson.map.SerializerProvider;
-import org.openecomp.mso.cloud.CloudIdentity.IdentityServerType;
public class IdentityAuthenticationTypeJsonSerializer extends JsonSerializer<IdentityAuthenticationTypeAbstract> {
@Override
public void serialize(IdentityAuthenticationTypeAbstract tmpObj, JsonGenerator jsonGenerator, SerializerProvider serializerProvider)
- throws IOException, JsonProcessingException {
+ throws IOException {
jsonGenerator.writeObject(tmpObj.toString());
}
}
|