summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorburdziak <olaf.burdziakowski@nokia.com>2019-05-17 11:33:01 +0200
committerburdziak <olaf.burdziakowski@nokia.com>2019-05-17 11:33:01 +0200
commitb0ce178103661fa82243bc8fa326cbc7969829f8 (patch)
tree29215f3acbf481d8f105c1df3d1f810f0884539f
parent68eabf669e4c83bd669286900e8a6f77e4009f29 (diff)
Fix sonar issue in ReportDashboardController.java
Change-Id: Ie4767605398be34fdec54080864964505485102d Issue-ID: PORTAL-523 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
-rw-r--r--ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/ReportDashboardController.java2
1 files changed, 1 insertions, 1 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..e2a694b6 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
@@ -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