diff options
author | Pooja03 <PM00501616@techmahindra.com> | 2018-02-01 12:10:13 +0530 |
---|---|---|
committer | Pooja03 <PM00501616@techmahindra.com> | 2018-02-01 12:10:33 +0530 |
commit | 91ba8a3cb383770316eafa9ee4939f3c70547063 (patch) | |
tree | aaa5f6f6bfb190ba428bf463a9659c321a08fad0 /src | |
parent | 3a2703f01b5e0431ce390cd5e21f4b19d39fdded (diff) |
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 <PM00501616@techmahindra.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/onap/dcae/inventory/daos/DCAEServiceComponentsDAO.java | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |