diff options
author | Mariah Jacobs <mariah.jacobs@intel.com> | 2018-06-11 06:44:07 -0700 |
---|---|---|
committer | Mariah Jacobs <mariah.jacobs@intel.com> | 2018-06-11 06:54:34 -0700 |
commit | fe55f86139ab66f8615d95bc6a1ca68e836eadbe (patch) | |
tree | 1045246e792b3bb1b45cd17db02f114dcbb73d3c /mso-api-handlers/mso-api-handler-infra/src/main | |
parent | 469e444a5fc0a30813381677c111e40afa5598d8 (diff) |
Return expression instead of variable 'returnResp'
Immediately return expression instead of assigning it to variable "returnResp".
Issue-ID: SO-666
Change-Id: I7a9de4ebfb59776d9225f3bd29ef57d184b2679a
Signed-off-by: Mariah Jacobs <mariah.jacobs@intel.com>
Diffstat (limited to 'mso-api-handlers/mso-api-handler-infra/src/main')
-rw-r--r-- | mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java | 5 |
1 files changed, 1 insertions, 4 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 5a612dbdc5..29a5a04da7 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 @@ -215,10 +215,7 @@ public class E2EServiceInstances { return response; } - Response returnResp = runCompareModelBPMWorkflow(e2eCompareModelReq, msoRequest, requestJSON, requestId, - startTime, action); - - return returnResp; + return runCompareModelBPMWorkflow(e2eCompareModelReq, msoRequest, requestJSON, requestId, startTime, action); } |