From 0b6ca2b05ca0896ad4f9b2f4943b1fa9292e8dfb Mon Sep 17 00:00:00 2001 From: anushadasari Date: Mon, 9 Sep 2019 12:37:09 +0530 Subject: Add "@Override" annotation above method signature. 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: Ic628b85f7a3e4c08712c88298fa4620ecddce0cc Signed-off-by: anushadasari --- vid-app-common/src/main/java/org/onap/vid/model/VidWorkflow.java | 1 + 1 file changed, 1 insertion(+) diff --git a/vid-app-common/src/main/java/org/onap/vid/model/VidWorkflow.java b/vid-app-common/src/main/java/org/onap/vid/model/VidWorkflow.java index d0e212b98..d77a28ccd 100644 --- a/vid-app-common/src/main/java/org/onap/vid/model/VidWorkflow.java +++ b/vid-app-common/src/main/java/org/onap/vid/model/VidWorkflow.java @@ -35,6 +35,7 @@ public class VidWorkflow extends VidBaseEntity { @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(name = "WORKFLOW_DB_ID") @JsonIgnore + @Override public Long getId() { return id; } -- cgit 1.2.3-korg