diff options
author | Driptaroop Das <driptaroop.das@in.ibm.com> | 2018-12-05 21:42:10 +0530 |
---|---|---|
committer | Driptaroop Das <driptaroop.das@in.ibm.com> | 2018-12-05 21:42:19 +0530 |
commit | 691e4f08bd56e6ef4f49630b6cf609d6af752e78 (patch) | |
tree | c2694051444c4c3a8ee46649ab72c68fa00d244f | |
parent | 2115ee55bdbcc81e80f6ffb5777113600de37208 (diff) |
PORTAL-493 - EPFusionBaseController.java
Replace the type specification in this constructor call with the diamond operator ("<>") - EPFusionBaseController.java
Issue-ID: PORTAL-493
Change-Id: Id7f022d4cf8f0279a533167912f5d690330b010e
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..90d7ae50 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 @@ -93,7 +95,7 @@ public abstract class EPFusionBaseController extends FusionBaseController { public Map<String, Object> setMenu(Set<MenuData> menuResult) throws Exception { ObjectMapper mapper = new ObjectMapper(); - List<List<MenuData>> childItemList = new ArrayList<List<MenuData>>(); + List<List<MenuData>> childItemList = new ArrayList<>(); List<MenuData> parentList = new ArrayList<MenuData>(); |