diff options
author | Jim Hahn <jrh3@att.com> | 2021-03-15 16:39:21 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-03-15 16:39:21 +0000 |
commit | c060c361ada331e2c728b28ddb80a6d720d295a7 (patch) | |
tree | 273f3907e3eaf5ab11e2a7a40b1d407e5d16d9d1 /models-base/src | |
parent | a3e38403301a296bb110c1219b140126b4434349 (diff) | |
parent | 0f18850ed482e71db9d61fa2656e5e84c2f61f74 (diff) |
Merge "Fix Sonar Issues on policy-models-tosca"
Diffstat (limited to 'models-base/src')
-rw-r--r-- | models-base/src/test/java/org/onap/policy/models/base/PfKeyImplTest.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/models-base/src/test/java/org/onap/policy/models/base/PfKeyImplTest.java b/models-base/src/test/java/org/onap/policy/models/base/PfKeyImplTest.java index 54edc8710..2afc94b53 100644 --- a/models-base/src/test/java/org/onap/policy/models/base/PfKeyImplTest.java +++ b/models-base/src/test/java/org/onap/policy/models/base/PfKeyImplTest.java @@ -26,7 +26,6 @@ import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; -import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; @@ -164,10 +163,6 @@ public class PfKeyImplTest { assertEquals(0, someKey0.compareTo(someKey0)); assertEquals(-36, someKey0.compareTo(new DummyPfKey())); - assertNotEquals(someKey0, null); - assertEquals(someKey0, (Object) someKey0); - assertNotEquals(someKey0, (Object) new DummyPfKey()); - MyKey someKey8 = new MyKey(); someKey8.setVersion(VERSION001); assertFalse(someKey8.isNullKey()); |