summaryrefslogtreecommitdiffstats
path: root/esr-mgr/src
diff options
context:
space:
mode:
authorLi Zi <li.zi30@zte.com.cn>2018-01-31 00:40:57 +0000
committerGerrit Code Review <gerrit@onap.org>2018-01-31 00:40:57 +0000
commit6bc8b3c6f31ba7f3a7fe199ee5116832c0fc1daf (patch)
tree60a8d7a234ff4f54ce4d498bdf600a94e9a173e1 /esr-mgr/src
parenta79deea30c433e878f5da45e0565a5c04ccba57a (diff)
parentb1f80cb50d421015a471edfaf2caeb5eca41b1bc (diff)
Merge "Sonar Minor: Remove the thrown runtime exception."
Diffstat (limited to 'esr-mgr/src')
-rw-r--r--esr-mgr/src/main/java/org/onap/aai/esr/externalservice/aai/ThirdpartySdncRegisterProvider.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/esr-mgr/src/main/java/org/onap/aai/esr/externalservice/aai/ThirdpartySdncRegisterProvider.java b/esr-mgr/src/main/java/org/onap/aai/esr/externalservice/aai/ThirdpartySdncRegisterProvider.java
index d4c4bc4..a9b89a5 100644
--- a/esr-mgr/src/main/java/org/onap/aai/esr/externalservice/aai/ThirdpartySdncRegisterProvider.java
+++ b/esr-mgr/src/main/java/org/onap/aai/esr/externalservice/aai/ThirdpartySdncRegisterProvider.java
@@ -46,7 +46,7 @@ public class ThirdpartySdncRegisterProvider implements MessageBodyWriter<EsrThir
@Override
public void writeTo(EsrThirdpartySdncDetail t, Class<?> type, Type genericType, Annotation[] annotations,
MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream)
- throws IOException, WebApplicationException {
+ throws IOException{
String json = new Gson().toJson(t, EsrThirdpartySdncDetail.class);
logger.info("the param to register VIM input is:" + json);
entityStream.write(json.getBytes("UTF-8"));