Sonar issue: Correct this "&" to "&&" in MicroserviceServiceImpl 68/88868/2
authorDominik Mizyn <d.mizyn@samsung.com>
Thu, 30 May 2019 10:59:24 +0000 (12:59 +0200)
committerDominik Mizyn <d.mizyn@samsung.com>
Thu, 30 May 2019 11:42:05 +0000 (13:42 +0200)
commit2970d475df6929c96c420daef72777b1c2614649
treeb5b7b2b351704735ea619a2b4dd53d7af41c3baf
parent46e67f9bd05747acc46525822dca7fe2d6260e31
Sonar issue: Correct this "&" to "&&" in MicroserviceServiceImpl

This patch also fix some minor issues:
* 'fori' loop replaced with 'foreach'
* Sonar issue: Replace the type specification in this constructor call
with the diamond operator ("<>").
* redundant 'throws'. Exception will never throw
* unnecessary temporary local variable

Issue-ID: PORTAL-603
Change-Id: If23afb9f4a10f0ad06c712cb95a38b54dc5cd089
Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/service/MicroserviceServiceImpl.java