From 0ebfaf31a633db693c79e2f8942845aaf83cd873 Mon Sep 17 00:00:00 2001 From: Sandeep J Date: Tue, 9 Apr 2019 13:13:39 +0530 Subject: removed sonar vulnerabilities in ServiceExecutor to increase code coverage Issue-ID: APPC-1567 Change-Id: Iada27e5e4d40d090275d35dfb3e586fe019cb207 Signed-off-by: Sandeep J --- .../appc/interfaces/service/executorImpl/ServiceExecutorImpl.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/appc-inbound/appc-interfaces-service/bundle/src/main/java/org/onap/appc/interfaces/service/executorImpl/ServiceExecutorImpl.java b/appc-inbound/appc-interfaces-service/bundle/src/main/java/org/onap/appc/interfaces/service/executorImpl/ServiceExecutorImpl.java index ee83c87bc..f82402f45 100644 --- a/appc-inbound/appc-interfaces-service/bundle/src/main/java/org/onap/appc/interfaces/service/executorImpl/ServiceExecutorImpl.java +++ b/appc-inbound/appc-interfaces-service/bundle/src/main/java/org/onap/appc/interfaces/service/executorImpl/ServiceExecutorImpl.java @@ -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; } -- cgit 1.2.3-korg