diff options
author | vempo <vitaliy.emporopulo@amdocs.com> | 2018-02-01 17:08:23 +0200 |
---|---|---|
committer | vempo <vitaliy.emporopulo@amdocs.com> | 2018-02-01 17:08:23 +0200 |
commit | b92822da4bdc3646fcd73ed0a4c6a43ae3786b79 (patch) | |
tree | cd364555d8d78cc4aa8aa992a8fe27a0827ea14e /openecomp-be/backend/openecomp-sdc-vendor-software-product-manager | |
parent | ca297aeb432b3d718bf09f0bac7b9f051c26e66d (diff) |
Removed passing unnecessary logging info
Change-Id: Ie5cbfad67798b3e0827155078bd0797c7b824efe
Issue-ID: SDC-772
Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
Diffstat (limited to 'openecomp-be/backend/openecomp-sdc-vendor-software-product-manager')
-rw-r--r-- | openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/impl/OrchestrationTemplateCandidateManagerImpl.java | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/impl/OrchestrationTemplateCandidateManagerImpl.java b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/impl/OrchestrationTemplateCandidateManagerImpl.java index 3a17e453af..aa90b5dee6 100644 --- a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/impl/OrchestrationTemplateCandidateManagerImpl.java +++ b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/impl/OrchestrationTemplateCandidateManagerImpl.java @@ -30,7 +30,6 @@ import org.openecomp.sdc.datatypes.error.ErrorMessage; import org.openecomp.sdc.logging.api.Logger; import org.openecomp.sdc.logging.api.LoggerFactory; import org.openecomp.sdc.logging.api.annotations.Metrics; -import org.openecomp.sdc.logging.types.LoggerTragetServiceName; import org.openecomp.sdc.vendorsoftwareproduct.OrchestrationTemplateCandidateManager; import org.openecomp.sdc.vendorsoftwareproduct.dao.VendorSoftwareProductInfoDao; import org.openecomp.sdc.vendorsoftwareproduct.dao.type.OrchestrationTemplateCandidateData; @@ -49,7 +48,6 @@ import org.openecomp.sdc.versioning.dao.types.Version; import java.io.IOException; import java.io.InputStream; import java.util.Collections; -import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Optional; @@ -62,7 +60,6 @@ public class OrchestrationTemplateCandidateManagerImpl LoggerFactory.getLogger(OrchestrationTemplateCandidateManagerImpl.class); private final VendorSoftwareProductInfoDao vspInfoDao; private final CandidateService candidateService; - private static final String VSP_ID = "VSP id"; public OrchestrationTemplateCandidateManagerImpl(VendorSoftwareProductInfoDao vspInfoDao, CandidateService candidateService @@ -100,13 +97,7 @@ public class OrchestrationTemplateCandidateManagerImpl @Override public Optional<FilesDataStructure> getFilesDataStructure(String vspId, Version version) { - Optional<FilesDataStructure> candidateFileDataStructure = - candidateService.getOrchestrationTemplateCandidateFileDataStructure(vspId, version); - if (candidateFileDataStructure.isPresent()) { - return candidateFileDataStructure; - } else { - return Optional.empty(); - } + return candidateService.getOrchestrationTemplateCandidateFileDataStructure(vspId, version); } @Override |