diff options
author | PrasadNaidu <RV00493633@techmahindra.com> | 2018-08-13 14:32:35 +0530 |
---|---|---|
committer | PrasadNaidu <RV00493633@techmahindra.com> | 2018-08-13 14:33:07 +0530 |
commit | 398a98ac3af8ccb1cb2b9b06cc3eb5fa4004bc48 (patch) | |
tree | 96c193d37322f753d69a274c9c27d28a5725cf90 | |
parent | 9ddac93ed79931d674d1b877661a0f7611d3a7d9 (diff) |
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 <RV00493633@techmahindra.com>
-rw-r--r-- | ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/BroadcastController.java | 2 |
1 files changed, 1 insertions, 1 deletions
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<String, Object> model = new HashMap<String, Object>(); + Map<String, Object> model = new HashMap<>(); ObjectMapper mapper = new ObjectMapper(); try { |