From 8738c88c6e868e1ddd30135ea46491b349781267 Mon Sep 17 00:00:00 2001 From: Murali-P Date: Thu, 8 Mar 2018 16:22:31 +0530 Subject: Remove un-used DB functions Code coverage is less than 50% Issue-ID: VNFSDK-159 Change-Id: I78bec6727db8185f242de92978c389d08d9ef228 Signed-off-by: Murali-P --- .../vnfsdk/marketplace/db/wrapper/BaseHandler.java | 28 ---------------------- 1 file changed, 28 deletions(-) (limited to 'vnfmarket-be/vnf-sdk-marketplace/src/main/java') diff --git a/vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/onap/vnfsdk/marketplace/db/wrapper/BaseHandler.java b/vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/onap/vnfsdk/marketplace/db/wrapper/BaseHandler.java index 4f3a3a6f..0c5c542f 100644 --- a/vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/onap/vnfsdk/marketplace/db/wrapper/BaseHandler.java +++ b/vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/onap/vnfsdk/marketplace/db/wrapper/BaseHandler.java @@ -91,35 +91,7 @@ public abstract class BaseHandler { return datas; } - /** - * union query. - * @param filter filter - * @param resouceType resource type - * @return T list - * @throws MarketplaceResourceException e1 - */ - @SuppressWarnings({"rawtypes", "unchecked"}) - public List unionQuery(String filter) throws MarketplaceResourceException { - logger.info("BaseHandler:start union query data.fliter:" + filter); - List datas = null; - logger.info("BaseHandler:union query data end .info:" + MarketplaceDbUtil.objectToString(datas)); - return datas; - } - /** - * union delete. - * @param filter filter - * @param resouceType resource type - * @return int - * @throws MarketplaceResourceException e1 - */ - @SuppressWarnings({"rawtypes", "unchecked"}) - public int unionDelete(String filter) throws MarketplaceResourceException { - logger.info("BaseHandler:start delete query data.fliter:" + filter); - int num=0; - logger.info("BaseHandler:union delete data end .num:" + num); - return num; - } @SuppressWarnings({"rawtypes", "unchecked"}) public void update(T data) throws MarketplaceResourceException { -- cgit 1.2.3-korg