From 8b10bae2761fd7891044e9c758e712b2b54bd8ba Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Fri, 27 Mar 2020 11:12:11 -0400 Subject: Use AtomicInteger and other sonar Removed unused logger. Added NOSONAR to main to remove security risk, as we do validate arguments. Used AtomicInteger. Issue-ID: POLICY-2305 Change-Id: I18e91836e914b7fd6e3cd9a950dca58fcd8be5b5 Signed-off-by: Pamela Dragosh --- .../onap/policy/distribution/reception/handling/PluginHandler.java | 4 ---- 1 file changed, 4 deletions(-) (limited to 'reception/src/main/java') diff --git a/reception/src/main/java/org/onap/policy/distribution/reception/handling/PluginHandler.java b/reception/src/main/java/org/onap/policy/distribution/reception/handling/PluginHandler.java index 5067c841..aa822e7f 100644 --- a/reception/src/main/java/org/onap/policy/distribution/reception/handling/PluginHandler.java +++ b/reception/src/main/java/org/onap/policy/distribution/reception/handling/PluginHandler.java @@ -36,16 +36,12 @@ import org.onap.policy.distribution.reception.decoding.PolicyDecoder; import org.onap.policy.distribution.reception.parameters.PluginHandlerParameters; import org.onap.policy.distribution.reception.parameters.PolicyDecoderParameters; import org.onap.policy.models.tosca.authorative.concepts.ToscaEntity; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; /** * Handles the plugins to policy distribution. */ public class PluginHandler { - private static final Logger LOGGER = LoggerFactory.getLogger(PluginHandler.class); - private Collection> policyDecoders; private Collection policyForwarders; -- cgit 1.2.3-korg