Fix more sonars in pap 77/109677/2
authorJim Hahn <jrh3@att.com>
Tue, 30 Jun 2020 11:31:20 +0000 (07:31 -0400)
committerJim Hahn <jrh3@att.com>
Tue, 30 Jun 2020 11:40:53 +0000 (07:40 -0400)
commit923e08f9678123980f6e7324ddeafd6b646bcd75
tree9fa1f52cb204c51846d54149ce903924ee1bcf73
parentbe97f0c04fdaa1ce87db75a9701f7a1fcef009e0
Fix more sonars in pap

Somehow missed this sonar on one line of code:
- remove useless assignments

Apparently, sonar only complains about some useless assignments (perhaps
those that do more than copy a constant).  Fixed one about which it did
not complain, which appeared immediately before the one about which it
DID complain.

At one point, sonar complained about creating ArrayLists without
specifying the initial size (when it was known).  It didn't complain
about this one, but went ahead and fixed it anyway.

Issue-ID: POLICY-2679
Change-Id: I270341195634416db1f8152a95a5822c8d505803
Signed-off-by: Jim Hahn <jrh3@att.com>
main/src/main/java/org/onap/policy/pap/main/rest/PolicyComponentsHealthCheckProvider.java