diff options
author | 2018-07-23 13:25:18 +0200 | |
---|---|---|
committer | 2018-08-01 16:47:58 +0300 | |
commit | caf13efd0cb09e0d9c4ad09174ab34a2e57fb439 (patch) | |
tree | 33e47c09f4e284e335a536ac495211bf6a933e0f /catalog-dao/src/main/java/org/openecomp/sdc/be/resources/impl/ResourceUploader.java | |
parent | 8b7fbe7f36fdff210ae956e206478d55a71eabd7 (diff) |
Catalog-dao dead code removal
Issue-ID: SDC-1551
Change-Id: I4947b3f8219f20c543abf06798caf69035ed7aa0
Signed-off-by: Piotr Krysiak <piotr.krysiak@nokia.com>
Diffstat (limited to 'catalog-dao/src/main/java/org/openecomp/sdc/be/resources/impl/ResourceUploader.java')
-rw-r--r-- | catalog-dao/src/main/java/org/openecomp/sdc/be/resources/impl/ResourceUploader.java | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/catalog-dao/src/main/java/org/openecomp/sdc/be/resources/impl/ResourceUploader.java b/catalog-dao/src/main/java/org/openecomp/sdc/be/resources/impl/ResourceUploader.java index 8b5dee4e8b..5b9f548b46 100644 --- a/catalog-dao/src/main/java/org/openecomp/sdc/be/resources/impl/ResourceUploader.java +++ b/catalog-dao/src/main/java/org/openecomp/sdc/be/resources/impl/ResourceUploader.java @@ -124,26 +124,6 @@ public class ResourceUploader implements IResourceUploader { return status; } - /* - * @Override public ResourceUploadStatus - * updateServiceArtifact(ServiceArtifactData artifactUpdateData) { - * ResourceUploadStatus status = ResourceUploadStatus.OK; if(resourceDAO == - * null) return ResourceUploadStatus.ERROR; Either<ServiceArtifactData, - * ResourceUploadStatus> getServiceArtifactStatus = - * getServiceArtifact(artifactUpdateData.getId()); - * - * if(getServiceArtifactStatus.isRight()){ - * log.debug("ResourceUploadStatus:updateArtifactt artifact with id " + - * artifactUpdateData.getId() + " not exist."); status = - * getServiceArtifactStatus.right().value(); } - * if(getServiceArtifactStatus.isLeft()){ status = - * updateServiceArtifact(artifactUpdateData, - * getServiceArtifactStatus.left().value()); } - * - * return status; } - * - */ - @Override public Either<ESArtifactData, ResourceUploadStatus> getArtifact(String id) { if (resourceDAO == null) @@ -152,13 +132,6 @@ public class ResourceUploader implements IResourceUploader { return resourceDAO.getArtifact(id); } - /* - * @Override public Either<ServiceArtifactData, ResourceUploadStatus> - * getServiceArtifact(String id) { if(resourceDAO == null) return - * Either.right(ResourceUploadStatus.ERROR); - * - * return resourceDAO.getServiceArtifact(id); } - */ @Override public void deleteArtifact(String id) { if (resourceDAO != null) { |