commit | 6e22f6ba5a83c8e55bec56798e8e4c7a3d4b002b | [log] [tgz] |
---|---|---|
author | Taka Cho <takamune.cho@att.com> | Tue Jun 09 11:21:31 2020 -0400 |
committer | Taka Cho <takamune.cho@att.com> | Mon Jun 15 12:16:32 2020 -0400 |
tree | 6257a46d109aae731d9f1a98c334251d6cc9d513 | |
parent | 7a64baa7a15c07c2bbb90c41594b82e8c8bfc816 [diff] |
reduce sonar issue - 2 rev 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: Ib362573bd865d1b561916bf64640c8ddeaa02546 Signed-off-by: Taka Cho <takamune.cho@att.com>
Copyright 2018 AT&T Intellectual Property. All rights reserved. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE Full license text at https://creativecommons.org/licenses/by/4.0/legalcode
This source repository contains the ONAP Policy DroolsPDP code. To build it: