Fix sonar issues in ecomp-portal-BE-common 54/99654/2
authorParshad Patel <pars.patel@samsung.com>
Mon, 16 Dec 2019 05:51:50 +0000 (14:51 +0900)
committerParshad Patel <pars.patel@samsung.com>
Mon, 16 Dec 2019 06:22:50 +0000 (15:22 +0900)
commit114070f4684fc453dd5a44c635278293c1f674f7
treef6cda7fc64189295f95b210e369807df805d6ba6
parentffd9af970318c1f5a0bad46d7aad5d4611414aae
Fix sonar issues in ecomp-portal-BE-common

A "NullPointerException" could be thrown
Replace the type specification in this constructor call with the diamond operator ("<>")
Use isEmpty() to check whether the collection is empty or not

Issue-ID: PORTAL-562
Change-Id: Idbff965861ec837f058bc0ae7073b359d0fcadcc
Signed-off-by: Parshad Patel <pars.patel@samsung.com>
ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/scheduleraux/SchedulerAuxUtil.java
ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/service/EPRoleServiceImpl.java