summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-common/src/main
diff options
context:
space:
mode:
authorManoop Talasila <talasila@research.att.com>2018-09-12 15:53:50 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-12 15:53:50 +0000
commit78c356d1b8e3efb0cbaa9c439ac8e79c008311d0 (patch)
tree7ec18195ae7dc62de3ecad5d1e95c953811919d2 /ecomp-sdk/epsdk-app-common/src/main
parent94bd04c9d430212bc1061fe1d494acbae5ef780b (diff)
parentbf8841e5a4b027f7fef2e289558a8a3351ed857b (diff)
Merge "Sonar major issues"
Diffstat (limited to 'ecomp-sdk/epsdk-app-common/src/main')
-rw-r--r--ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/core/ProfileController.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/core/ProfileController.java b/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/core/ProfileController.java
index 74c18850..c7edfb81 100644
--- a/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/core/ProfileController.java
+++ b/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/core/ProfileController.java
@@ -88,7 +88,7 @@ public class ProfileController extends RestrictedBaseController {
@RequestMapping(value = { "/profile" }, method = RequestMethod.GET)
public ModelAndView profile(HttpServletRequest request) throws IOException {
- Map<String, Object> model = new HashMap<String, Object>();
+ Map<String, Object> model = new HashMap<>();
ObjectMapper mapper = new ObjectMapper();
User user = UserUtils.getUserSession(request);
@@ -138,7 +138,7 @@ public class ProfileController extends RestrictedBaseController {
@RequestMapping(value = { "/get_self_profile" }, method = RequestMethod.GET)
public void getSelfProfile(HttpServletRequest request, HttpServletResponse response) {
- Map<String, Object> model = new HashMap<String, Object>();
+ Map<String, Object> model = new HashMap<>();
ObjectMapper mapper = new ObjectMapper();
User user = UserUtils.getUserSession(request);