From 398a98ac3af8ccb1cb2b9b06cc3eb5fa4004bc48 Mon Sep 17 00:00:00 2001 From: PrasadNaidu Date: Mon, 13 Aug 2018 14:32:35 +0530 Subject: Replace Type Specification With Diamond Operator Replace Type Specification With Diamond Operator BroadcastController.java:L76 Sonar Link : https://sonar.onap.org/project/issues?assignees=PrasadNaidu&id=org.onap.portal.sdk%3Aepsdk-project&open=AV_om9vX-08if2a6uhzh&resolved=false Location : ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/BroadcastController.java Change-Id: Ia2e36efc128da7e9f01cb177d5ede05893321f01 Issue-ID: PORTAL-351 Signed-off-by: PrasadNaidu --- .../java/org/onap/portalapp/controller/sample/BroadcastController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/BroadcastController.java b/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/BroadcastController.java index ec300780..c36ffcc9 100644 --- a/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/BroadcastController.java +++ b/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/BroadcastController.java @@ -73,7 +73,7 @@ public class BroadcastController extends RestrictedBaseController { @RequestMapping(value = { "/broadcast" }, method = RequestMethod.GET) public ModelAndView broadcast(HttpServletRequest request) { - Map model = new HashMap(); + Map model = new HashMap<>(); ObjectMapper mapper = new ObjectMapper(); try { -- cgit 1.2.3-korg