summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk
diff options
context:
space:
mode:
authorPrasadNaidu <RV00493633@techmahindra.com>2018-08-13 12:51:52 +0530
committerPrasadNaidu <RV00493633@techmahindra.com>2018-08-13 12:52:16 +0530
commit67f81e5b609a88da9ed6df10526981e207d382fa (patch)
treeb90aa8a19b149eaa8850ad12a78164b7d095658a /ecomp-sdk
parent9ddac93ed79931d674d1b877661a0f7611d3a7d9 (diff)
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 <RV00493633@techmahindra.com>
Diffstat (limited to 'ecomp-sdk')
-rw-r--r--ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/AngularSinglePageController.java2
1 files changed, 1 insertions, 1 deletions
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<String, Object> model = new HashMap<String, Object>();
+ Map<String, Object> model = new HashMap<>();
return new ModelAndView("single_page_sample", "model", model);
}