diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2018-10-05 12:22:43 -0400 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2018-10-05 12:22:49 -0400 |
commit | c8dacf42a0f41bef6779232d7e58bb27130ff5f3 (patch) | |
tree | 2a1cd897f80fd6b99ca8d8ce7077700179aa3928 /integrity-monitor/src | |
parent | d94a034ad6a871e024d84d42d97d40b83af0770d (diff) |
Remove constraints
Sonar is flagging the null checks.
Issue-ID: POLICY-1130
Change-Id: I4ab94b3db79d4089f20afaf3f80f3c925541084a
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'integrity-monitor/src')
-rw-r--r-- | integrity-monitor/src/main/java/org/onap/policy/common/im/IntegrityMonitor.java | 3 |
1 files changed, 1 insertions, 2 deletions
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); |