From c357963bb0515aed63ce06bd939379c0f382421f Mon Sep 17 00:00:00 2001 From: anushadasari Date: Thu, 25 Jul 2019 23:12:12 +0530 Subject: SonarFix-Remove declaration of thrown exception Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body Issue-ID: CCSDK-1531 Change-Id: I64421278bf413954eb6ce5456fcd4b6766655dc6 Signed-off-by: anushadasari --- .../src/main/java/org/onap/portalapp/login/LoginStrategyImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ccsdk-app-os/src') diff --git a/ccsdk-app-os/src/main/java/org/onap/portalapp/login/LoginStrategyImpl.java b/ccsdk-app-os/src/main/java/org/onap/portalapp/login/LoginStrategyImpl.java index b3af63a..b628772 100644 --- a/ccsdk-app-os/src/main/java/org/onap/portalapp/login/LoginStrategyImpl.java +++ b/ccsdk-app-os/src/main/java/org/onap/portalapp/login/LoginStrategyImpl.java @@ -58,7 +58,7 @@ public class LoginStrategyImpl extends LoginStrategy { return userid; } - private static String getUserIdFromCookie(HttpServletRequest request) throws Exception { + private static String getUserIdFromCookie(HttpServletRequest request){ String userId = ""; Cookie[] cookies = request.getCookies(); Cookie userIdcookie = null; -- cgit 1.2.3-korg