diff options
author | Taka Cho <takamune.cho@att.com> | 2020-06-08 12:35:15 -0400 |
---|---|---|
committer | Takamune Cho <takamune.cho@att.com> | 2020-06-09 15:46:57 +0000 |
commit | 4bd5e29a227174f95ab91cc0f46cdaf8ae968e3d (patch) | |
tree | db1087d739030975441d73eaee48bf708f74d8d2 /feature-pooling-dmaap/src | |
parent | f7a58b1fc0a9c26ce52f3cffe5b5e0961850beb6 (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 'feature-pooling-dmaap/src')
0 files changed, 0 insertions, 0 deletions