diff options
author | Driptaroop Das <driptaroop.das@in.ibm.com> | 2018-12-05 21:34:11 +0530 |
---|---|---|
committer | Driptaroop Das <driptaroop.das@in.ibm.com> | 2018-12-05 21:34:19 +0530 |
commit | e89e85459d467ecaf794e79ca56c3d1083b77290 (patch) | |
tree | ea40eb0ebfb74dd0ed27db4883ffce90a010ab12 | |
parent | 2115ee55bdbcc81e80f6ffb5777113600de37208 (diff) |
PORTAL-491 - EPFusionBaseController.java
Replace the type specification in this constructor call with the diamond operator ("<>") - EPFusionBaseController.java
Issue-ID: PORTAL-491
Change-Id: I57976f175272272151726b3db0ff7da97a8f17e6
Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
-rw-r--r-- | ecomp-portal-BE-common/src/main/java/org/onap/portalapp/controller/EPFusionBaseController.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/controller/EPFusionBaseController.java b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/controller/EPFusionBaseController.java index 611d9665..9d801b01 100644 --- a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/controller/EPFusionBaseController.java +++ b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/controller/EPFusionBaseController.java @@ -3,6 +3,8 @@ * ONAP Portal * =================================================================== * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * + * Modifications Copyright © 2018 IBM. * =================================================================== * * Unless otherwise specified, all software contained herein is licensed @@ -74,7 +76,7 @@ public abstract class EPFusionBaseController extends FusionBaseController { @ModelAttribute("menu") public Map<String, Object> messages(HttpServletRequest request) { HttpSession session = null; - Map<String, Object> model = new HashMap<String, Object>(); + Map<String, Object> model = new HashMap<>(); session = request.getSession(); EPUser user = EPUserUtils.getUserSession(request); if (session != null && user != null) { |