From c8dacf42a0f41bef6779232d7e58bb27130ff5f3 Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Fri, 5 Oct 2018 12:22:43 -0400 Subject: Remove constraints Sonar is flagging the null checks. Issue-ID: POLICY-1130 Change-Id: I4ab94b3db79d4089f20afaf3f80f3c925541084a Signed-off-by: Pamela Dragosh --- .../src/main/java/org/onap/policy/common/im/IntegrityMonitor.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'integrity-monitor/src/main') diff --git a/integrity-monitor/src/main/java/org/onap/policy/common/im/IntegrityMonitor.java b/integrity-monitor/src/main/java/org/onap/policy/common/im/IntegrityMonitor.java index 4298e7c8..9412606d 100644 --- a/integrity-monitor/src/main/java/org/onap/policy/common/im/IntegrityMonitor.java +++ b/integrity-monitor/src/main/java/org/onap/policy/common/im/IntegrityMonitor.java @@ -38,7 +38,6 @@ import javax.persistence.FlushModeType; import javax.persistence.LockModeType; import javax.persistence.Persistence; import javax.persistence.Query; -import javax.validation.constraints.NotNull; import org.onap.policy.common.im.jmx.ComponentAdmin; import org.onap.policy.common.im.jmx.ComponentAdminMBean; import org.onap.policy.common.im.jmx.JmxAgentConnection; @@ -1783,7 +1782,7 @@ public class IntegrityMonitor { * @param msg message to add for the key * @throws AllSeemsWellException if an error occurs */ - public void allSeemsWell(@NotNull String key, @NotNull Boolean asw, @NotNull String msg) + public void allSeemsWell(String key, Boolean asw, String msg) throws AllSeemsWellException { logger.debug("allSeemsWell entry: key = {}, asw = {}, msg = {}", key, asw, msg); -- cgit 1.2.3-korg