diff options
author | Driptaroop Das <driptaroop.das@in.ibm.com> | 2018-12-05 21:52:08 +0530 |
---|---|---|
committer | Driptaroop Das <driptaroop.das@in.ibm.com> | 2018-12-05 21:52:17 +0530 |
commit | 5d3d7e1758b67bdfa79ff0d6d09b1241f4d5a0e7 (patch) | |
tree | e21063499e2d71ade2ff96f2f69603e3e0396bb9 | |
parent | 2115ee55bdbcc81e80f6ffb5777113600de37208 (diff) |
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 <driptaroop.das@in.ibm.com>
-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..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<MenuData> tempList = new ArrayList<MenuData>(); + List<MenuData> tempList = new ArrayList<>(); for (Object o : menu.getChildMenus()) { MenuData m = (MenuData) o; MenuData data = new MenuData(); |