Merge "PORTAL-493 - EPFusionBaseController.java"
authorManoop Talasila <talasila@research.att.com>
Thu, 7 Feb 2019 21:29:41 +0000 (21:29 +0000)
committerGerrit Code Review <gerrit@onap.org>
Thu, 7 Feb 2019 21:29:41 +0000 (21:29 +0000)
1  2 
ecomp-portal-BE-common/src/main/java/org/onap/portalapp/controller/EPFusionBaseController.java

@@@ -95,11 -95,11 +95,11 @@@ public abstract class EPFusionBaseContr
  
        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>();
 +              List<MenuData> parentList = new ArrayList<>();
                
 -              Map<String, Object> model = new HashMap<String, Object>();
 +              Map<String, Object> model = new HashMap<>();
                for (MenuData menu : menuResult) {
                        MenuData parentData = new MenuData();
                        parentData.setLabel(menu.getLabel());