summaryrefslogtreecommitdiffstats
path: root/controlloop/common/guard/src
diff options
context:
space:
mode:
authorTaka Cho <takamune.cho@att.com>2020-06-09 12:04:20 -0400
committerTaka Cho <takamune.cho@att.com>2020-06-09 12:04:51 -0400
commitfbd144a2442fa7273c8b1d920cd2f7611b2aefcd (patch)
treed8daf38b5c83e55573fc25af4ffc07e336832768 /controlloop/common/guard/src
parent442a2a8dd64c724363433e6e4794eb19da66314b (diff)
reduce sonar issue - drool-applications
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); Change-Id: Ic50bf6e961b74abcc698c2cc0347dd0472fefe71 Issue-ID: POLICY-2616 Signed-off-by: Taka Cho <takamune.cho@att.com>
Diffstat (limited to 'controlloop/common/guard/src')
0 files changed, 0 insertions, 0 deletions