Remove constraints 27/69927/1
authorPamela Dragosh <pdragosh@research.att.com>
Fri, 5 Oct 2018 16:22:43 +0000 (12:22 -0400)
committerPamela Dragosh <pdragosh@research.att.com>
Fri, 5 Oct 2018 16:22:49 +0000 (12:22 -0400)
Sonar is flagging the null checks.

Issue-ID: POLICY-1130
Change-Id: I4ab94b3db79d4089f20afaf3f80f3c925541084a
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
integrity-monitor/src/main/java/org/onap/policy/common/im/IntegrityMonitor.java

index 4298e7c..9412606 100644 (file)
@@ -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);