From 0d048f6adf8a8e1a0ea008a37173e2400e605ba3 Mon Sep 17 00:00:00 2001 From: Snigdha Sucharita Patra Date: Mon, 5 Feb 2018 19:31:39 +0530 Subject: sonar Major Using @Override annotation Add the @Override annotation above this method signature Sonar Link: https://sonar.onap.org/component_issues?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|assignees=Snigdha503415 Location: src/main/java/org/onap/dcae/inventory/daos/DCAEServicesDAO.java Line No-40 Change-Id: Ic1036c33e8de4ba994e3b3f81d1a70eab3a5e576 Issue-ID: DCAEGEN2-299 Signed-off-by: Snigdha Sucharita Patra --- src/main/java/org/onap/dcae/inventory/daos/DCAEServicesDAO.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/onap/dcae/inventory/daos/DCAEServicesDAO.java b/src/main/java/org/onap/dcae/inventory/daos/DCAEServicesDAO.java index 1398a26..c1ca46e 100644 --- a/src/main/java/org/onap/dcae/inventory/daos/DCAEServicesDAO.java +++ b/src/main/java/org/onap/dcae/inventory/daos/DCAEServicesDAO.java @@ -36,6 +36,7 @@ import org.skife.jdbi.v2.util.IntegerMapper; */ public interface DCAEServicesDAO extends InventoryDAO { + @Override @SqlQuery("select exists (select * from information_schema.tables where table_name = \'dcae_services\')") Boolean checkIfTableExists(); -- cgit 1.2.3-korg