summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-common
diff options
context:
space:
mode:
authorPrasadNaidu <RV00493633@techmahindra.com>2018-08-14 15:01:28 +0530
committerPrasadNaidu <RV00493633@techmahindra.com>2018-08-14 15:01:49 +0530
commit0b4dcd4e57acd8677a960553ece7ba05e5da8797 (patch)
tree40e5a46705e5181d30bf4b17d71c3ebff45a59cf /ecomp-sdk/epsdk-app-common
parent9ddac93ed79931d674d1b877661a0f7611d3a7d9 (diff)
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 <RV00493633@techmahindra.com>
Diffstat (limited to 'ecomp-sdk/epsdk-app-common')
-rw-r--r--ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/BroadcastListController.java2
1 files changed, 1 insertions, 1 deletions
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<String, Object> model = new HashMap<String, Object>();
+ Map<String, Object> model = new HashMap<>();
model.put("model", broadcastService.getBcModel(request));
return new ModelAndView(getViewName(), model);