fix sonar issue 12/93212/1
authorsarada prasad sahoo <sarada.prasad.sahoo@huawei.com>
Fri, 9 Aug 2019 12:43:39 +0000 (18:13 +0530)
committersarada prasad sahoo <sarada.prasad.sahoo@huawei.com>
Fri, 9 Aug 2019 12:43:39 +0000 (18:13 +0530)
fix sonar issues

Issue-ID: SO-1811
Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com>
Change-Id: I5049d25904c3abfdaccd84a3356c14f47be4bc57

bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/sniro/SniroClient.java

index 21c0b97..d07574a 100644 (file)
@@ -57,10 +57,10 @@ public class SniroClient {
      *
      * @param homingRequest
      * @return
-     * @throws JsonProcessingException
+     * @throws BadResponseException
      * @throws BpmnError
      */
-    public void postDemands(SniroManagerRequest homingRequest) throws BadResponseException, JsonProcessingException {
+    public void postDemands(SniroManagerRequest homingRequest) throws BadResponseException {
         logger.trace("Started Sniro Client Post Demands");
         String url = managerProperties.getHost() + managerProperties.getUri().get("v2");
         logger.debug("Post demands url: {}", url);