diff options
author | Sooriyaa <soponraj@in.ibm.com> | 2018-09-10 14:18:12 +0530 |
---|---|---|
committer | Sooriyaa <soponraj@in.ibm.com> | 2018-09-10 14:18:24 +0530 |
commit | 45477951fc6fb27e96fe879bc2f6220adb5a90ef (patch) | |
tree | 1ccc2be6053fdfd01f8ef5943e70055c3dc94a79 /ResmanagementService/service/src/main | |
parent | 0a907eed099f690bf25475475a66b99ab97401da (diff) |
Returning expression instead of variable
Returning expression instead of variable
Issue-ID: VFC-1103
Change-Id: I1faf8ab5e574879fdcc537b86ecadc4d4502ba3a
Signed-off-by: Sooriyaa <soponraj@in.ibm.com>
Diffstat (limited to 'ResmanagementService/service/src/main')
-rw-r--r-- | ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/impl/aai/NsAaiDaoImpl.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/impl/aai/NsAaiDaoImpl.java b/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/impl/aai/NsAaiDaoImpl.java index 9328f94..aaad2fc 100644 --- a/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/impl/aai/NsAaiDaoImpl.java +++ b/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/impl/aai/NsAaiDaoImpl.java @@ -50,9 +50,7 @@ public class NsAaiDaoImpl implements NsDao { + UrlConstant.SERVICE_INSTANCE_URL + id, restfulParametes, "get"); JSONObject jsonObject = JSONObject.fromObject(response.getResponseContent()); - NsEntity nsEntity = NsEntity.toEntityFromAai(jsonObject); - - return nsEntity; + return NsEntity.toEntityFromAai(jsonObject); } @Override |