From 5d3d7e1758b67bdfa79ff0d6d09b1241f4d5a0e7 Mon Sep 17 00:00:00 2001 From: Driptaroop Das Date: Wed, 5 Dec 2018 21:52:08 +0530 Subject: PORTAL-496 - EPFusionBaseController.java Replace the type specification in this constructor call with the diamond operator ("<>") - EPFusionBaseController.java Issue-ID: PORTAL-496 Change-Id: I3f4e044623e4e771cf9beeb7e402aba9c384dae1 Signed-off-by: Driptaroop Das --- .../java/org/onap/portalapp/controller/EPFusionBaseController.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ecomp-portal-BE-common') 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..ad012ba1 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 @@ -104,7 +106,7 @@ public abstract class EPFusionBaseController extends FusionBaseController { parentData.setAction(menu.getAction()); parentData.setImageSrc(menu.getImageSrc()); parentList.add(parentData); - List tempList = new ArrayList(); + List tempList = new ArrayList<>(); for (Object o : menu.getChildMenus()) { MenuData m = (MenuData) o; MenuData data = new MenuData(); -- cgit 1.2.3-korg