From 67f81e5b609a88da9ed6df10526981e207d382fa Mon Sep 17 00:00:00 2001 From: PrasadNaidu Date: Mon, 13 Aug 2018 12:51:52 +0530 Subject: Replace Type Specification With Diamond Operator Replace Type Specification With Diamond Operator AngularSinglePageController.java:L62 Sonar Link : https://sonar.onap.org/project/issues?assignees=PrasadNaidu&id=org.onap.portal.sdk%3Aepsdk-project&open=AV_om9vK-08if2a6uhzb&resolved=false Location : ecomp-sdk\epsdk-app-common\src\main\java\org\onap\portalapp\controller\sample\AngularSinglePageController.java Change-Id: Ib3224ca9e2dd19d84c3817c99748c05cc18cfffb Issue-ID: PORTAL-350 Signed-off-by: PrasadNaidu --- .../onap/portalapp/controller/sample/AngularSinglePageController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ecomp-sdk/epsdk-app-common') diff --git a/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/AngularSinglePageController.java b/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/AngularSinglePageController.java index b5d78768..96b602c3 100644 --- a/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/AngularSinglePageController.java +++ b/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/AngularSinglePageController.java @@ -59,7 +59,7 @@ public class AngularSinglePageController extends RestrictedBaseController { @RequestMapping(value = { "/singlePageSample" }, method = RequestMethod.GET) public ModelAndView view(HttpServletRequest request) { - Map model = new HashMap(); + Map model = new HashMap<>(); return new ModelAndView("single_page_sample", "model", model); } -- cgit 1.2.3-korg