aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/java
diff options
context:
space:
mode:
authoranushadasari <danush10@in.ibm.com>2019-09-26 21:52:36 +0530
committerIttay Stern <ittay.stern@att.com>2019-10-07 12:52:02 +0000
commit4c8c2ac1d29e19d1cb935749af0d1c0063d5c0fd (patch)
treeb41e8d257b4b0be9997dc158e27a62b1ec63bb7d /vid-app-common/src/main/java
parent862abccfdf8097e147ca743471066c4c236194b9 (diff)
Add the "@Override" annotation.
Using the @Override annotation is useful for two reasons : It elicits a warning from the compiler if the annotated method doesn't actually override anything, as in the case of a misspelling. It improves the readability of the source code by making it obvious that methods are overridden. Issue-ID: VID-612 Change-Id: I90f07b6da5934fcba0c6d4106a75684438d8bb4b Signed-off-by: anushadasari <danush10@in.ibm.com>
Diffstat (limited to 'vid-app-common/src/main/java')
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/model/VNFDao.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/vid-app-common/src/main/java/org/onap/vid/model/VNFDao.java b/vid-app-common/src/main/java/org/onap/vid/model/VNFDao.java
index 8370f91e1..cb7a0fcc6 100644
--- a/vid-app-common/src/main/java/org/onap/vid/model/VNFDao.java
+++ b/vid-app-common/src/main/java/org/onap/vid/model/VNFDao.java
@@ -41,6 +41,7 @@ public class VNFDao extends DomainVo {
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "VNF_DB_ID")
@JsonIgnore
+ @Override
public Long getId() {
return id;
}