diff options
author | Driptaroop Das <driptaroop.das@in.ibm.com> | 2018-12-05 21:48:38 +0530 |
---|---|---|
committer | Driptaroop Das <driptaroop.das@in.ibm.com> | 2018-12-05 21:49:39 +0530 |
commit | 21af581d08e3c4c06b129675356f13725d2539a4 (patch) | |
tree | 52f6ab812deb209597972301d7f0e370dada3c4c /ecomp-portal-BE-common | |
parent | 2115ee55bdbcc81e80f6ffb5777113600de37208 (diff) |
PORTAL-495 - EPFusionBaseController.java
Replace the type specification in this constructor call with the diamond operator ("<>") - EPFusionBaseController.java
Issue-ID: PORTAL-495
Change-Id: Ib6fd08376f7e7afb26fa8d945f6829a8a308342a
Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
Diffstat (limited to 'ecomp-portal-BE-common')
-rw-r--r-- | ecomp-portal-BE-common/src/main/java/org/onap/portalapp/controller/EPFusionBaseController.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/controller/EPFusionBaseController.java b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/controller/EPFusionBaseController.java index 611d9665..792db895 100644 --- a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/controller/EPFusionBaseController.java +++ b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/controller/EPFusionBaseController.java @@ -3,6 +3,8 @@ * ONAP Portal * =================================================================== * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * + * Modifications Copyright © 2018 IBM. * =================================================================== * * Unless otherwise specified, all software contained herein is licensed @@ -97,7 +99,7 @@ public abstract class EPFusionBaseController extends FusionBaseController { List<MenuData> parentList = new ArrayList<MenuData>(); - Map<String, Object> model = new HashMap<String, Object>(); + Map<String, Object> model = new HashMap<>(); for (MenuData menu : menuResult) { MenuData parentData = new MenuData(); parentData.setLabel(menu.getLabel()); |