diff options
author | Seshu Kumar M <seshu.kumar.m@huawei.com> | 2018-04-23 11:01:07 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-04-23 11:01:07 +0000 |
commit | 95ae98d77bde33f3ddffa1d321bab79781bbf4b8 (patch) | |
tree | 2111e6079a9884d493ef61855eaa120cd325e3bb /mso-api-handlers | |
parent | c603622f7736b2c00cef98846d01fd606297c176 (diff) | |
parent | 3aee5e83b7f76abaddba285f7a9e4409da155643 (diff) |
Merge "Sonar Major Bug Fixing"
Diffstat (limited to 'mso-api-handlers')
2 files changed, 2 insertions, 3 deletions
diff --git a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java index 95da5b6a95..e0e13e7884 100644 --- a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java +++ b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java @@ -1318,7 +1318,7 @@ public class E2EServiceInstances { requestParameters.setSubscriptionServiceType("MOG"); // Userparams - List<E2EUserParam> userParams; + //List<E2EUserParam> userParams; // userParams = // e2eSir.getService().getParameters().getRequestParameters().getUserParams(); List<Map<String, Object>> userParamList = new ArrayList<>(); diff --git a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/MsoRequest.java b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/MsoRequest.java index 59c78b5439..2f2ef313f4 100644 --- a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/MsoRequest.java +++ b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/MsoRequest.java @@ -913,9 +913,8 @@ public class MsoRequest { } public void updateFinalStatus (Status status) { - int result = 0; try { - result = (RequestsDatabase.getInstance()).updateInfraFinalStatus (requestId, + (RequestsDatabase.getInstance()).updateInfraFinalStatus (requestId, status.toString (), this.errorMessage, this.progress, |