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

@@@ -93,13 -93,14 +93,14 @@@ public abstract class EPFusionBaseContr
                return model;
        }
  
+       @Override
        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());