From ce0c28aa322c80abe9f0d7944b1e283e53a62b15 Mon Sep 17 00:00:00 2001 From: burdziak Date: Fri, 17 May 2019 11:41:27 +0200 Subject: Fix sonar issues in SamplePageController Change-Id: I91153d063f8da3ab6de15814b9a4f98d4b3403f9 Issue-ID: PORTAL-523 Signed-off-by: burdziak --- .../org/onap/portalapp/controller/sample/SamplePageController.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'ecomp-sdk/epsdk-app-common') diff --git a/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/SamplePageController.java b/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/SamplePageController.java index 26a4e444..5adaf66e 100644 --- a/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/SamplePageController.java +++ b/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/SamplePageController.java @@ -58,10 +58,8 @@ public class SamplePageController extends RestrictedBaseController { @RequestMapping(value = { "/samplePage" }, method = RequestMethod.GET) public ModelAndView plot(HttpServletRequest request) { - 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);*/ + Map model = new HashMap<>(); + return new ModelAndView("samplePage", "model", model); } -- cgit 1.2.3-korg