Fix sonar issue in ReportDashboardController.java 71/87971/1
authorburdziak <olaf.burdziakowski@nokia.com>
Fri, 17 May 2019 09:33:01 +0000 (11:33 +0200)
committerburdziak <olaf.burdziakowski@nokia.com>
Fri, 17 May 2019 09:33:01 +0000 (11:33 +0200)
Change-Id: Ie4767605398be34fdec54080864964505485102d
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..e2a694b 100644 (file)
@@ -58,7 +58,7 @@ import org.springframework.web.servlet.ModelAndView;
 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