PORTAL-493 - EPFusionBaseController.java 79/74279/1
authorDriptaroop Das <driptaroop.das@in.ibm.com>
Wed, 5 Dec 2018 16:12:10 +0000 (21:42 +0530)
committerDriptaroop Das <driptaroop.das@in.ibm.com>
Wed, 5 Dec 2018 16:12:19 +0000 (21:42 +0530)
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>
ecomp-portal-BE-common/src/main/java/org/onap/portalapp/controller/EPFusionBaseController.java

index 611d966..90d7ae5 100644 (file)
@@ -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>();