removed sonar vulnerabilities in ServiceExecutor 17/84617/1
authorSandeep J <sandeejh@in.ibm.com>
Tue, 9 Apr 2019 07:43:39 +0000 (13:13 +0530)
committerSandeep J <sandeejh@in.ibm.com>
Tue, 9 Apr 2019 07:43:54 +0000 (13:13 +0530)
to increase code coverage

Issue-ID: APPC-1567
Change-Id: Iada27e5e4d40d090275d35dfb3e586fe019cb207
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
appc-inbound/appc-interfaces-service/bundle/src/main/java/org/onap/appc/interfaces/service/executorImpl/ServiceExecutorImpl.java

index ee83c87..f82402f 100644 (file)
@@ -6,6 +6,8 @@
  * ================================================================================
  * Modifications Copyright (C) 2019 Ericsson
  * ================================================================================
+ * Modifications Copyright (C) 2019 IBM
+ * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
@@ -31,8 +33,8 @@ import java.util.Map;
 import org.onap.appc.aai.client.aai.AaiService;
 import org.onap.appc.interfaces.service.data.Request;
 import org.onap.appc.interfaces.service.data.ScopeOverlap;
-import org.onap.ccsdk.sli.core.sli.SvcLogicContext;
 import org.onap.ccsdk.sli.adaptors.aai.AAIClient;
+import org.onap.ccsdk.sli.core.sli.SvcLogicContext;
 
 import com.att.eelf.configuration.EELFLogger;
 import com.att.eelf.configuration.EELFManager;
@@ -134,7 +136,6 @@ public class ServiceExecutorImpl {
             }
             return Boolean.FALSE;
         } catch (Exception e) {
-            e.printStackTrace();
             log.debug(e.getMessage());
             throw e;
         }