summaryrefslogtreecommitdiffstats
path: root/core/core-protocols/src
diff options
context:
space:
mode:
authorwaynedunican <wayne.dunican@est.tech>2020-08-14 11:24:14 +0100
committerwaynedunican <wayne.dunican@est.tech>2020-08-17 14:13:13 +0100
commita73217b479a500fb9420dbcb453a134ec8d1eee7 (patch)
tree4f5055eb69f4df57015090cb2498e6045b8874ee /core/core-protocols/src
parent1798f96670cc2d182628332ffec5e012816c82ea (diff)
SONAR fixes - assert dissimiliar types
Fix for assertions comparing dissimiliar types. Issue-ID: POLICY-2761 Change-Id: I1b2b8afa3e6308cda887d73a4ee079709847d054 Signed-off-by: waynedunican <wayne.dunican@est.tech>
Diffstat (limited to 'core/core-protocols/src')
-rw-r--r--core/core-protocols/src/test/java/org/onap/policy/apex/core/protocols/engdep/messages/EngineServiceInfoResponseTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/core-protocols/src/test/java/org/onap/policy/apex/core/protocols/engdep/messages/EngineServiceInfoResponseTest.java b/core/core-protocols/src/test/java/org/onap/policy/apex/core/protocols/engdep/messages/EngineServiceInfoResponseTest.java
index 6e588dbe3..445f831e6 100644
--- a/core/core-protocols/src/test/java/org/onap/policy/apex/core/protocols/engdep/messages/EngineServiceInfoResponseTest.java
+++ b/core/core-protocols/src/test/java/org/onap/policy/apex/core/protocols/engdep/messages/EngineServiceInfoResponseTest.java
@@ -74,7 +74,7 @@ public class EngineServiceInfoResponseTest {
// disabling sonar because this code tests the equals() method
assertEquals(response, response); // NOSONAR
assertNotNull(response);
- assertNotEquals(response, new StartEngine(new AxArtifactKey()));
+ assertNotEquals(response, (Object) new StartEngine(new AxArtifactKey()));
response = new EngineServiceInfoResponse(null, false, null);
EngineServiceInfoResponse otherResponse = new EngineServiceInfoResponse(null, false, null);