diff options
author | liamfallon <liam.fallon@est.tech> | 2020-03-11 21:29:17 +0000 |
---|---|---|
committer | liamfallon <liam.fallon@est.tech> | 2020-03-11 21:29:21 +0000 |
commit | 690495d32c6033741d7a7c2413476f7ba88e2825 (patch) | |
tree | 554cc03ef1c832bf8e488d19cd5ffb3021a35a6e /model | |
parent | 4e6bd1d02227591d1517245f5bda690ec4eb770e (diff) |
Fix minor checkstyle/eclipse warnings
Some minor checkstyle and eclipse warnings have crept into the code in
the last few weeks. This review cleams them up.
Issue-ID: POLICY-1913
Change-Id: Ib5f103bc28c71a6c4db05ea05719eff41bb38914
Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'model')
-rw-r--r-- | model/engine-model/src/test/java/org/onap/policy/apex/model/enginemodel/concepts/EngineStatsTest.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/model/engine-model/src/test/java/org/onap/policy/apex/model/enginemodel/concepts/EngineStatsTest.java b/model/engine-model/src/test/java/org/onap/policy/apex/model/enginemodel/concepts/EngineStatsTest.java index b35d40570..9e603f491 100644 --- a/model/engine-model/src/test/java/org/onap/policy/apex/model/enginemodel/concepts/EngineStatsTest.java +++ b/model/engine-model/src/test/java/org/onap/policy/apex/model/enginemodel/concepts/EngineStatsTest.java @@ -142,7 +142,9 @@ public class EngineStatsTest { assertTrue(stats.equals(stats)); assertTrue(stats.equals(clonedStats)); assertFalse(stats.equals(null)); - assertFalse(stats.equals("Hello")); + + Object helloObject = "Hello"; + assertFalse(stats.equals(helloObject)); assertFalse(stats.equals(new AxEngineStats(new AxReferenceKey()))); assertEquals(0, stats.compareTo(stats)); |