diff options
author | rama-huawei <rama.subba.reddy.s@huawei.com> | 2017-09-26 18:14:26 +0530 |
---|---|---|
committer | rama-huawei <rama.subba.reddy.s@huawei.com> | 2017-09-26 18:14:26 +0530 |
commit | e4b80e97a98f329af344da8d3c06423a5701a9e1 (patch) | |
tree | 6f7818010ffe62d8faef64671b9cc69066fe3247 /mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/VolumeInfoHandler.java | |
parent | c49835e6f8ced1dc5461d5e9a8a4f9cd798e867d (diff) |
Removed useless assignment to variables
Issue-Id:SO-118
Change-Id: Ic745bcfcd895da55735a39bc22c0346339255abf
Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
Diffstat (limited to 'mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/VolumeInfoHandler.java')
-rw-r--r-- | mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/VolumeInfoHandler.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/VolumeInfoHandler.java b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/VolumeInfoHandler.java index 1891c00521..6618fcfb00 100644 --- a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/VolumeInfoHandler.java +++ b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/VolumeInfoHandler.java @@ -84,7 +84,7 @@ public class VolumeInfoHandler { + " tenant-id:" + tenantId + " volume-group-id:" + volumeGroupId + " volume-group-name:" + volumeGroupName); - Response response = null; + Response response; if (vnfType != null) { response = this.getRequestList ("vnfType", vnfType, version); } else { @@ -233,7 +233,7 @@ public class VolumeInfoHandler { getMsoLogger ().debug ("getRequest: " + requestId); - String responseString = null; + String responseString; InfraActiveRequests activeReq = (RequestsDatabase.getInstance()).getRequestFromInfraActive (requestId, "VOLUME"); @@ -257,7 +257,7 @@ public class VolumeInfoHandler { queryValue, "VOLUME"); - List <VolumeRequest> queryResponseList = new LinkedList <VolumeRequest> (); + List <VolumeRequest> queryResponseList = new LinkedList <> (); if (activeReqList != null) { // build response for active @@ -302,7 +302,7 @@ public class VolumeInfoHandler { } private List <VolumeRequest> infraRequestsResponses (List <? extends InfraRequests> arList, String version) { - List <VolumeRequest> queryResponseList = new LinkedList <VolumeRequest> (); + List <VolumeRequest> queryResponseList = new LinkedList <> (); for (InfraRequests ar : arList) { VolumeRequest qr = fillGeneric (ar); |