diff options
author | 2018-02-01 16:23:54 +0530 | |
---|---|---|
committer | 2018-02-01 16:26:18 +0530 | |
commit | 2acbbf3179de3d2aa5cc715816e4be0f405168ff (patch) | |
tree | c8be5a6e9bdf839db2d66631a5c7ab79ffb1d227 /src/main/java/org/onap/dcae/inventory | |
parent | 9d159376941f43a202246c27de5213f191ecd233 (diff) |
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|severities=MAJOR|assignees=Snigdha503415
Location:
src/main/java/org/onap/dcae/inventory/daos/DCAEServicesComponentsMapsDAO.java
Line No-42
Change-Id: I22a4e6f437986386fb3d3312466b0e9098704ffd
Issue-ID: DCAEGEN2-295
Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
Diffstat (limited to 'src/main/java/org/onap/dcae/inventory')
-rw-r--r-- | src/main/java/org/onap/dcae/inventory/daos/DCAEServicesComponentsMapsDAO.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/onap/dcae/inventory/daos/DCAEServicesComponentsMapsDAO.java b/src/main/java/org/onap/dcae/inventory/daos/DCAEServicesComponentsMapsDAO.java index 68ed59c..c9eaa99 100644 --- a/src/main/java/org/onap/dcae/inventory/daos/DCAEServicesComponentsMapsDAO.java +++ b/src/main/java/org/onap/dcae/inventory/daos/DCAEServicesComponentsMapsDAO.java @@ -36,6 +36,7 @@ public interface DCAEServicesComponentsMapsDAO extends InventoryDAO { @SqlQuery("select exists (select * from information_schema.tables where table_name = \'dcae_services_components_maps\')") Boolean checkIfTableExists(); + @Override @SqlUpdate("create table dcae_services_components_maps (service_id varchar not null references dcae_services (service_id), " + "component_id varchar not null references dcae_service_components (component_id), " + "created timestamp not null, primary key (service_id, component_id))") |