From 94773bcf7e2ac69625e5fcc551c288fc86a91df1 Mon Sep 17 00:00:00 2001 From: PrasadNaidu Date: Tue, 14 Aug 2018 12:41:02 +0530 Subject: Replace Type Specification With Diamond Operator Replace Type Specification With Diamond Operator BroadcastController.java:L90 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: Id738ee17b40eee553e3f778f6a08d55618aa67a9 Issue-ID: PORTAL-352 Signed-off-by: PrasadNaidu --- .../java/org/onap/portalapp/controller/sample/BroadcastController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ecomp-sdk/epsdk-app-common/src') 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..cadf0ab5 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 @@ -87,7 +87,7 @@ public class BroadcastController extends RestrictedBaseController { @RequestMapping(value = { "/get_broadcast" }, method = RequestMethod.GET) public void getBroadcast(HttpServletRequest request, HttpServletResponse response) { - Map model = new HashMap(); + Map model = new HashMap<>(); ObjectMapper mapper = new ObjectMapper(); try { -- cgit 1.2.3-korg