diff options
author | Driptaroop Das <driptaroop.das@in.ibm.com> | 2018-12-05 21:45:21 +0530 |
---|---|---|
committer | Driptaroop Das <driptaroop.das@in.ibm.com> | 2018-12-05 21:45:30 +0530 |
commit | 00c486514774b7e55f92257a62e715793fcf92ed (patch) | |
tree | a618fb4b73143b1268082e8b49eed8aa7566dccc /ecomp-portal-BE-common/src | |
parent | 2115ee55bdbcc81e80f6ffb5777113600de37208 (diff) |
PORTAL-494 - EPFusionBaseController.java
Replace the type specification in this constructor call with the diamond operator ("<>") - EPFusionBaseController.java
Issue-ID: PORTAL-494
Change-Id: I84110eb8722070b8df0e75ef60549e7b79a5a422
Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
Diffstat (limited to 'ecomp-portal-BE-common/src')
-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..ecd5cd5e 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 @@ -95,7 +97,7 @@ public abstract class EPFusionBaseController extends FusionBaseController { ObjectMapper mapper = new ObjectMapper(); List<List<MenuData>> childItemList = new ArrayList<List<MenuData>>(); - List<MenuData> parentList = new ArrayList<MenuData>(); + List<MenuData> parentList = new ArrayList<>(); Map<String, Object> model = new HashMap<String, Object>(); for (MenuData menu : menuResult) { |