summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-common
diff options
context:
space:
mode:
authorburdziak <olaf.burdziakowski@nokia.com>2019-07-08 10:39:52 +0200
committerburdziak <olaf.burdziakowski@nokia.com>2019-07-08 10:39:52 +0200
commitefd5e3d3c3cf6e5b63daf299e5a14a573ab6c052 (patch)
treed925554c3132539ef372385289eef47c5aed6920 /ecomp-sdk/epsdk-app-common
parent760dc08603ca84669c7d5f0a19b52534cc655442 (diff)
Fix sonar issue in ReportDashboardController
Change-Id: Ifef76894c8bc12636728c553593e6aa8afd37829 Issue-ID: PORTAL-523 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
Diffstat (limited to 'ecomp-sdk/epsdk-app-common')
-rw-r--r--ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/ReportDashboardController.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/ReportDashboardController.java b/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/ReportDashboardController.java
index 2ac5d8a4..50e6d096 100644
--- a/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/ReportDashboardController.java
+++ b/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/ReportDashboardController.java
@@ -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