From 91ba8a3cb383770316eafa9ee4939f3c70547063 Mon Sep 17 00:00:00 2001 From: Pooja03 Date: Thu, 1 Feb 2018 12:10:13 +0530 Subject: Sonar Major fix Adding the @Override annotation above checkIfTableExists method signature in DCAEServiceComponentsDAO.java Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|severities=MAJOR|assignees=_me_%2CPooja03 Location:DCAEServiceComponentsDAO.java:L39 Issue-ID: DCAEGEN2-288 Change-Id: I74eca3cb3d8b3d528ce462b1c0a8eda1ad574552 Signed-off-by: Pooja03 --- src/main/java/org/onap/dcae/inventory/daos/DCAEServiceComponentsDAO.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java/org') diff --git a/src/main/java/org/onap/dcae/inventory/daos/DCAEServiceComponentsDAO.java b/src/main/java/org/onap/dcae/inventory/daos/DCAEServiceComponentsDAO.java index 1085ac4..dff68df 100644 --- a/src/main/java/org/onap/dcae/inventory/daos/DCAEServiceComponentsDAO.java +++ b/src/main/java/org/onap/dcae/inventory/daos/DCAEServiceComponentsDAO.java @@ -35,6 +35,7 @@ import java.util.List; */ public interface DCAEServiceComponentsDAO extends InventoryDAO { + @Override @SqlQuery("select exists (select * from information_schema.tables where table_name = \'dcae_service_components\')") Boolean checkIfTableExists(); -- cgit 1.2.3-korg