From 55742390693bb80b80dff12bce88eb8128051873 Mon Sep 17 00:00:00 2001 From: burdziak Date: Fri, 17 May 2019 10:50:16 +0200 Subject: Fix sonar issue in NetMapController.java Change-Id: I56ea637684df41434a220b0e9d5986d9fb7f1c93 Issue-ID: PORTAL-523 Signed-off-by: burdziak --- .../java/org/onap/portalapp/controller/sample/NetMapController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ecomp-sdk/epsdk-app-common') diff --git a/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/NetMapController.java b/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/NetMapController.java index 38ae6ee8..f3f739f4 100644 --- a/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/NetMapController.java +++ b/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/NetMapController.java @@ -58,7 +58,7 @@ public class NetMapController extends RestrictedBaseController { @RequestMapping(value = { "/net_map" }, method = RequestMethod.GET) public ModelAndView plot(HttpServletRequest request) { - Map model = new HashMap(); + Map model = new HashMap<>(); model.put("frame_int", "net_map_int"); // This view resolves to page frame_insert.jsp return new ModelAndView("frame_insert", model); -- cgit 1.2.3-korg