aboutsummaryrefslogtreecommitdiffstats
path: root/ccsdk-app-os/src/main
diff options
context:
space:
mode:
authoranushadasari <danush10@in.ibm.com>2019-07-25 23:12:12 +0530
committerDan Timoney <dtimoney@att.com>2019-07-26 21:28:05 +0000
commitc357963bb0515aed63ce06bd939379c0f382421f (patch)
tree1e25b2875ac35e937a22460a3defc39ee2ff56a0 /ccsdk-app-os/src/main
parent5efb3b2e9039c9cfca2679a4c152f6e230cd7d1f (diff)
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 <danush10@in.ibm.com>
Diffstat (limited to 'ccsdk-app-os/src/main')
-rw-r--r--ccsdk-app-os/src/main/java/org/onap/portalapp/login/LoginStrategyImpl.java2
1 files changed, 1 insertions, 1 deletions
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;