From 8c87163466a4eb5a010a9977adf8a365faec8631 Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Tue, 2 Oct 2018 09:50:57 -0400 Subject: Fixing sonar issues Some trivial functional interface and ordering. Added some missing JUnit tests. Issue-ID: POLICY-1129 Change-Id: Iad6fe757a40819ca39e007b41dae1bf4b3f6cc0c Signed-off-by: Pamela Dragosh --- .../src/main/java/org/onap/policy/controlloop/ControlLoopPublisher.java | 1 + 1 file changed, 1 insertion(+) (limited to 'controlloop/common/eventmanager') diff --git a/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/ControlLoopPublisher.java b/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/ControlLoopPublisher.java index 2b1fbefc7..086e1173d 100644 --- a/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/ControlLoopPublisher.java +++ b/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/ControlLoopPublisher.java @@ -25,6 +25,7 @@ import java.lang.reflect.Constructor; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +@FunctionalInterface public interface ControlLoopPublisher { public void publish(Object object); -- cgit 1.2.3-korg