summaryrefslogtreecommitdiffstats
path: root/PolicyEngineUtils/src/main/java
diff options
context:
space:
mode:
authorrama-huawei <rama.subba.reddy.s@huawei.com>2017-09-20 12:04:57 +0530
committerRama SubbaReddy <rama.subba.reddy.s@huawei.com>2017-09-20 15:14:14 +0000
commita8b497dacd36b86e0accf764a0290507923be7df (patch)
tree8fbbdf55d837a922b2145247a0d26ac0017c2b72 /PolicyEngineUtils/src/main/java
parentb687a23edb87b2357403ff50b8e83452b7497356 (diff)
Fix for Sonar major issues
Change includes: 1) Add the "@Override" annotation for overriding methods 2) Move the string literal on the left side of the actual string comparison. Issue-ID: POLICY-239 Change-Id: I83b0cf41d630ef80f08eda35c9c37ae591332f74 Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
Diffstat (limited to 'PolicyEngineUtils/src/main/java')
-rw-r--r--PolicyEngineUtils/src/main/java/org/onap/policy/api/NotificationHandler.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/PolicyEngineUtils/src/main/java/org/onap/policy/api/NotificationHandler.java b/PolicyEngineUtils/src/main/java/org/onap/policy/api/NotificationHandler.java
index 6484a9d7e..837eba967 100644
--- a/PolicyEngineUtils/src/main/java/org/onap/policy/api/NotificationHandler.java
+++ b/PolicyEngineUtils/src/main/java/org/onap/policy/api/NotificationHandler.java
@@ -24,6 +24,7 @@ package org.onap.policy.api;
*
* @version 0.1
*/
+@FunctionalInterface
public interface NotificationHandler {
/**
* <code>notificationReceived</code> method will be triggered automatically whenever a Notification is received by the PEP.