From 62597d6fcdea939c5fdbbc3d870023f1458c8704 Mon Sep 17 00:00:00 2001 From: jhh Date: Wed, 7 Jul 2021 07:34:56 -0500 Subject: nosonar on admin logging level function Issue-ID: POLICY-3077 Signed-off-by: jhh Change-Id: Ieae80c77db297271c9de3958d321bfe4b88acce3 Signed-off-by: jhh --- .../policy/drools/controller/internal/NullDroolsController.java | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'policy-management') diff --git a/policy-management/src/main/java/org/onap/policy/drools/controller/internal/NullDroolsController.java b/policy-management/src/main/java/org/onap/policy/drools/controller/internal/NullDroolsController.java index 624a6049..5ac1d6da 100644 --- a/policy-management/src/main/java/org/onap/policy/drools/controller/internal/NullDroolsController.java +++ b/policy-management/src/main/java/org/onap/policy/drools/controller/internal/NullDroolsController.java @@ -26,6 +26,7 @@ import java.util.HashMap; import java.util.List; import java.util.Map; import lombok.NonNull; +import lombok.ToString; import org.onap.policy.common.endpoints.event.comm.TopicSink; import org.onap.policy.drools.controller.DroolsController; import org.onap.policy.drools.controller.DroolsControllerConstants; @@ -35,6 +36,7 @@ import org.onap.policy.drools.protocol.coders.TopicCoderFilterConfiguration; /** * no-op Drools Controller. */ +@ToString public class NullDroolsController implements DroolsController { @Override @@ -152,13 +154,6 @@ public class NullDroolsController implements DroolsController { return false; } - @Override - public String toString() { - StringBuilder builder = new StringBuilder(); - builder.append("NullDroolsController []"); - return builder.toString(); - } - @Override public void updateToVersion(String newGroupId, String newArtifactId, String newVersion, List decoderConfigurations, -- cgit 1.2.3-korg