summaryrefslogtreecommitdiffstats
path: root/policy-core
diff options
context:
space:
mode:
authorTaka Cho <takamune.cho@att.com>2020-06-08 12:35:15 -0400
committerTakamune Cho <takamune.cho@att.com>2020-06-09 15:46:57 +0000
commit4bd5e29a227174f95ab91cc0f46cdaf8ae968e3d (patch)
treedb1087d739030975441d73eaee48bf708f74d8d2 /policy-core
parentf7a58b1fc0a9c26ce52f3cffe5b5e0961850beb6 (diff)
reduce sonar issue
In some conditions for assertTrue, sonarcloud recommends using assertEquals Assert.assertTrue(a.equals(b)); Assert.assertTrue(a == b); Assert.assertTrue(a == null); Assert.assertTrue(a != null); Assert.assertFalse(a.equals(b)); Compliant Solution Assert.assertEquals(a, b); Assert.assertSame(a, b); Assert.assertNull(a); Assert.assertNotNull(a); Assert.assertNotEquals(a, b); Issue-ID: POLICY-2616 Change-Id: I6a4b0ac76c0816a8d4bf1914dc96210d20cdff03 Signed-off-by: Taka Cho <takamune.cho@att.com>
Diffstat (limited to 'policy-core')
0 files changed, 0 insertions, 0 deletions