diff options
author | PrasadNaidu <RV00493633@techmahindra.com> | 2018-08-14 12:41:02 +0530 |
---|---|---|
committer | PrasadNaidu <RV00493633@techmahindra.com> | 2018-08-14 12:41:21 +0530 |
commit | 94773bcf7e2ac69625e5fcc551c288fc86a91df1 (patch) | |
tree | 157145b8ec6e1ca6175ef6942a34b3d0ff7dfa1e /ecomp-sdk | |
parent | 9ddac93ed79931d674d1b877661a0f7611d3a7d9 (diff) |
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 <RV00493633@techmahindra.com>
Diffstat (limited to 'ecomp-sdk')
-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..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<String, Object> model = new HashMap<String, Object>(); + Map<String, Object> model = new HashMap<>(); ObjectMapper mapper = new ObjectMapper(); try { |