diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2020-08-26 11:13:19 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-08-26 11:13:19 +0000 |
commit | 68a60a45f27287a4a523c82ef466cbeec655f641 (patch) | |
tree | cf52bf9fd0610d27f5d0aadcc5e3a8cd81ba5a50 /models-interactions/model-impl/events/src | |
parent | 8ec1942774a2f26225d116ffba5b9b48e90ba15a (diff) | |
parent | 59f4f54cdf4c1a5c155360239272da690e8c4a72 (diff) |
Merge "Address more sonar issues in policy-models"
Diffstat (limited to 'models-interactions/model-impl/events/src')
-rw-r--r-- | models-interactions/model-impl/events/src/test/java/org/onap/policy/controlloop/ControlLoopOperationTest.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/models-interactions/model-impl/events/src/test/java/org/onap/policy/controlloop/ControlLoopOperationTest.java b/models-interactions/model-impl/events/src/test/java/org/onap/policy/controlloop/ControlLoopOperationTest.java index 54eec71b5..eaf4ea93a 100644 --- a/models-interactions/model-impl/events/src/test/java/org/onap/policy/controlloop/ControlLoopOperationTest.java +++ b/models-interactions/model-impl/events/src/test/java/org/onap/policy/controlloop/ControlLoopOperationTest.java @@ -35,11 +35,8 @@ public class ControlLoopOperationTest { public void test() { ControlLoopOperation operation = new ControlLoopOperation(); - /* - * Disabling sonar to test equals(). - */ - assertEquals(operation, operation); // NOSONAR - assertNotEquals(operation, ""); // NOSONAR + assertEquals(operation, (Object) operation); + assertNotEquals(operation, (Object) ""); assertNotEquals(operation, null); assertNotEquals(0, operation.hashCode()); |