diff options
author | Driptaroop Das <driptaroop.das@in.ibm.com> | 2019-01-03 12:02:31 +0530 |
---|---|---|
committer | Driptaroop Das <driptaroop.das@in.ibm.com> | 2019-01-03 12:04:03 +0530 |
commit | 3582f4e8163c117538be29767465e783b2890a8f (patch) | |
tree | c3dc00fdcd642a816c626c6df3f0b66bdb49b3a8 /ecomp-portal-BE-common | |
parent | 2115ee55bdbcc81e80f6ffb5777113600de37208 (diff) |
Issue-Remove the declaration of thrown exception
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.
Issue-ID: PORTAL-501
Change-Id: I9724782aeab6151e6a143e674e123c62e34870e8
Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
Diffstat (limited to 'ecomp-portal-BE-common')
-rw-r--r-- | ecomp-portal-BE-common/src/main/java/org/onap/portalapp/controller/sessionmgt/SessionCommunicationController.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/controller/sessionmgt/SessionCommunicationController.java b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/controller/sessionmgt/SessionCommunicationController.java index 46903284..d36cf6cb 100644 --- a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/controller/sessionmgt/SessionCommunicationController.java +++ b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/controller/sessionmgt/SessionCommunicationController.java @@ -3,6 +3,8 @@ * ONAP Portal * =================================================================== * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * + * Modifications Copyright (C) 2019 IBM. * =================================================================== * * Unless otherwise specified, all software contained herein is licensed @@ -81,7 +83,7 @@ public class SessionCommunicationController extends EPRestrictedRESTfulBaseCont @ApiOperation(value = "Extends session timeout values for all on-boarded applications.", response = Boolean.class) @RequestMapping(value={"/extendSessionTimeOuts"}, method = RequestMethod.POST) - public Boolean extendSessionTimeOuts(HttpServletRequest request, HttpServletResponse response, @RequestParam String sessionMap) throws Exception { + public Boolean extendSessionTimeOuts(HttpServletRequest request, HttpServletResponse response, @RequestParam String sessionMap) { manageService.extendSessionTimeOuts(sessionMap); return true; |