Fix sonar issue in ReportDashboardController 08/91008/1
authorburdziak <olaf.burdziakowski@nokia.com>
Mon, 8 Jul 2019 08:39:52 +0000 (10:39 +0200)
committerburdziak <olaf.burdziakowski@nokia.com>
Mon, 8 Jul 2019 08:39:52 +0000 (10:39 +0200)
Change-Id: Ifef76894c8bc12636728c553593e6aa8afd37829
Issue-ID: PORTAL-523
Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/ReportDashboardController.java

index 2ac5d8a..50e6d09 100644 (file)
@@ -55,10 +55,10 @@ import org.springframework.web.servlet.ModelAndView;
 
 @Controller
 @RequestMapping("/") 
-public class ReportDashboardController extends RestrictedBaseController {              
+public class ReportDashboardController extends RestrictedBaseController {
        @RequestMapping(value = {"/report_dashboard" }, method = RequestMethod.GET)
        public ModelAndView adminView(HttpServletRequest request) {
-               Map<String, Object> model = new HashMap<String, Object>();
+               Map<String, Object> model = new HashMap<>();
                return new ModelAndView(getViewName(),"model", model);
        }
 }
\ No newline at end of file