From: Pamela Dragosh Date: Fri, 5 Oct 2018 16:22:43 +0000 (-0400) Subject: Remove constraints X-Git-Tag: 1.3.0^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=c8dacf42a0f41bef6779232d7e58bb27130ff5f3;p=policy%2Fcommon.git Remove constraints Sonar is flagging the null checks. Issue-ID: POLICY-1130 Change-Id: I4ab94b3db79d4089f20afaf3f80f3c925541084a Signed-off-by: Pamela Dragosh --- 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);