Fix issues in common for new sonar rules 54/109654/2
authorJim Hahn <jrh3@att.com>
Mon, 29 Jun 2020 14:16:44 +0000 (10:16 -0400)
committerJim Hahn <jrh3@att.com>
Mon, 29 Jun 2020 15:09:58 +0000 (11:09 -0400)
commitff0842117fba4dfe675a8b87af3a1098cde023bd
tree1dde66fc3323e9bb3edec8bf83df1456cbf6fffd
parent4cdfdf4fa218a3b4f7e9690355db85976bc1888d
Fix issues in common for new sonar rules

Addressed issues reported due to updates to the sonar rules:
- invoke only one method in a junit lambda
- complete the assertion
- add DOCTYPE to html

Issue-ID: POLICY-2650
Change-Id: Ib8b8a2e4736cc23849c0f7aef972ffa3365a3e00
Signed-off-by: Jim Hahn <jrh3@att.com>
12 files changed:
gson/src/test/java/org/onap/policy/common/gson/internal/FieldSerializerTest.java
integrity-monitor/src/test/java/org/onap/policy/common/im/AllSeemsWellTest.java
integrity-monitor/src/test/java/org/onap/policy/common/im/IntegrityMonitorTest.java
integrity-monitor/src/test/java/org/onap/policy/common/im/StateManagementTest.java
policy-endpoints/src/test/java/org/onap/policy/common/endpoints/event/comm/bus/NoopTopicFactoryTest.java
policy-endpoints/src/test/java/org/onap/policy/common/endpoints/http/server/test/YamlMessageBodyHandlerTest.java
policy-endpoints/src/test/resources/webapps/alt-root/index.html
policy-endpoints/src/test/resources/webapps/root/index.html
utils-test/src/test/java/org/onap/policy/common/utils/gson/GsonTestUtilsTest.java
utils-test/src/test/java/org/onap/policy/common/utils/time/PseudoScheduledExecutorServiceTest.java
utils-test/src/test/java/org/onap/policy/common/utils/time/PseudoTimerTest.java
utils/src/test/java/org/onap/policy/common/utils/coder/StandardCoderTest.java