From 67e2166397ee90e117bf644dca84eb4963d15665 Mon Sep 17 00:00:00 2001 From: burdziak Date: Fri, 17 May 2019 11:29:03 +0200 Subject: Fix sonar issue in PostDroolsController Change-Id: I62a4af22f97ff9b52c5ebc01ca347eab1361d7d3 Issue-ID: PORTAL-523 Signed-off-by: burdziak --- .../java/org/onap/portalapp/controller/sample/PostDroolsController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ecomp-sdk/epsdk-app-common') diff --git a/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/PostDroolsController.java b/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/PostDroolsController.java index 43d548f9..cf7fa06a 100644 --- a/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/PostDroolsController.java +++ b/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/PostDroolsController.java @@ -109,7 +109,7 @@ public class PostDroolsController extends RestrictedBaseController { } @RequestMapping(value = { "/post_drools/execute" }, method = RequestMethod.POST) - public ModelAndView search(HttpServletRequest request, HttpServletResponse response) throws Exception { + public ModelAndView search(HttpServletRequest request, HttpServletResponse response) { try { ObjectMapper mapper = new ObjectMapper(); mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false); -- cgit 1.2.3-korg