summaryrefslogtreecommitdiffstats
path: root/holmes-actions/src/main/java/org/onap
diff options
context:
space:
mode:
authorShiwei Tian <tian.shiwei@zte.com.cn>2018-04-09 18:52:50 +0800
committerShiwei Tian <tian.shiwei@zte.com.cn>2018-04-09 18:52:50 +0800
commit77a032f176183287746858d8eb57a6062286d327 (patch)
treef4dcc497a85254b084f19682c275a3313b42c31e /holmes-actions/src/main/java/org/onap
parent96a6ea5cab6575b7e04d6736cee6906298065a7b (diff)
fix https bug
Issue-ID: HOLMES-104 Change-Id: Ia2b37ffde95de4d5ea8f99340e1c9fc5b0063c07 Signed-off-by: Shiwei Tian <tian.shiwei@zte.com.cn>
Diffstat (limited to 'holmes-actions/src/main/java/org/onap')
-rw-r--r--holmes-actions/src/main/java/org/onap/holmes/common/utils/HttpsUtils.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/holmes-actions/src/main/java/org/onap/holmes/common/utils/HttpsUtils.java b/holmes-actions/src/main/java/org/onap/holmes/common/utils/HttpsUtils.java
index 29a1c91..48ed0ae 100644
--- a/holmes-actions/src/main/java/org/onap/holmes/common/utils/HttpsUtils.java
+++ b/holmes-actions/src/main/java/org/onap/holmes/common/utils/HttpsUtils.java
@@ -183,15 +183,7 @@ public class HttpsUtils {
try {
httpResponse = httpClient.execute(httpRequest);
} catch (Exception e) {
- e.printStackTrace();
throw new CorrelationException("Failed to get data from server" ,e);
- } finally {
- if (httpRequest != null) {
- httpRequest.releaseConnection();
- }
- if (httpClient != null) {
- httpClient.close();
- }
}
return httpResponse;
}