From 0b4dcd4e57acd8677a960553ece7ba05e5da8797 Mon Sep 17 00:00:00 2001 From: PrasadNaidu Date: Tue, 14 Aug 2018 15:01:28 +0530 Subject: Replace Type Specification With Diamond Operator Replace Type Specification With Diamond Operator BroadcastListController.java:L73 Sonar Link : https://sonar.onap.org/project/issues?assignees=PrasadNaidu&id=org.onap.portal.sdk%3Aepsdk-project&open=AV_om9vi-08if2a6uhzs&resolved=false Location : ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/BroadcastListController.java Change-Id: I4d68f7146f0c5344c3bd63668f8d569c65c1b7db Issue-ID: PORTAL-358 Signed-off-by: PrasadNaidu --- .../org/onap/portalapp/controller/sample/BroadcastListController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ecomp-sdk/epsdk-app-common/src/main') diff --git a/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/BroadcastListController.java b/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/BroadcastListController.java index 15e6c57c..8b740d0b 100644 --- a/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/BroadcastListController.java +++ b/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/BroadcastListController.java @@ -70,7 +70,7 @@ public class BroadcastListController extends RestrictedBaseController { @RequestMapping(value = { "/broadcast_list" }, method = RequestMethod.GET) public ModelAndView broadcastList(HttpServletRequest request) { - Map model = new HashMap(); + Map model = new HashMap<>(); model.put("model", broadcastService.getBcModel(request)); return new ModelAndView(getViewName(), model); -- cgit 1.2.3-korg