From 5859a939392788da5722e3caef2a043dab3d7c28 Mon Sep 17 00:00:00 2001 From: SwapnilPathak Date: Wed, 20 Sep 2017 17:47:33 +0530 Subject: Fix for Sonar major issues Add override annotation above the method signature. Issue-ID: POLICY-248 Change-Id: I8086a6fc1dc24719c3ffd3785a12c086ab556ae9 Signed-off-by: SwapnilPathak --- .../java/org/onap/policy/controlloop/ControlLoopNotificationType.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'controlloop/common/model-impl') diff --git a/controlloop/common/model-impl/events/src/main/java/org/onap/policy/controlloop/ControlLoopNotificationType.java b/controlloop/common/model-impl/events/src/main/java/org/onap/policy/controlloop/ControlLoopNotificationType.java index 5417baed9..29f53c8fa 100644 --- a/controlloop/common/model-impl/events/src/main/java/org/onap/policy/controlloop/ControlLoopNotificationType.java +++ b/controlloop/common/model-impl/events/src/main/java/org/onap/policy/controlloop/ControlLoopNotificationType.java @@ -37,7 +37,8 @@ public enum ControlLoopNotificationType { this.type = type; } - public String toString() { + @Override + public String toString() { return this.type; } -- cgit 1.2.3-korg