Fix NPE & other sonar issues 63/97463/1
authorParshad Patel <pars.patel@samsung.com>
Wed, 23 Oct 2019 10:57:13 +0000 (19:57 +0900)
committerParshad Patel <pars.patel@samsung.com>
Wed, 23 Oct 2019 10:57:17 +0000 (19:57 +0900)
commit8de6460a41a02f73295d76b031c985472d233c5c
tree448a5317cf5cabf60336ac518b96ea242284fa71
parent6a1b66d85bc824234d01627b826fdd528869f2ed
Fix NPE & other sonar issues

Fix A "NullPointerException" could be thrown
Add the "@Override" annotation above this method signature
Remove the boxing to "Long"; The argument is already of the same type
Replace the type specification in this constructor call with the diamond operator ("<>")

Issue-ID: PORTAL-562
Change-Id: Ib2d7b8a526f3effce13845a3c2b7abedeb78b042
Signed-off-by: Parshad Patel <pars.patel@samsung.com>
ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/controller/WidgetsController.java
ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/domain/EPUser.java