X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=ecomp-portal-BE-common%2Fsrc%2Ftest%2Fjava%2Forg%2Fonap%2Fportalapp%2Fportal%2Fcontroller%2FSharedContextRestClient.java;h=13dfc1835a59afa181cb8e6297e2b33b05f409c4;hb=HEAD;hp=a6f0dcdc4e4e6188211c8a80f3fe604736e12fe6;hpb=21a8761f684745bb300e075c7e98ad897ace9eed;p=portal.git diff --git a/ecomp-portal-BE-common/src/test/java/org/onap/portalapp/portal/controller/SharedContextRestClient.java b/ecomp-portal-BE-common/src/test/java/org/onap/portalapp/portal/controller/SharedContextRestClient.java index a6f0dcdc..13dfc183 100644 --- a/ecomp-portal-BE-common/src/test/java/org/onap/portalapp/portal/controller/SharedContextRestClient.java +++ b/ecomp-portal-BE-common/src/test/java/org/onap/portalapp/portal/controller/SharedContextRestClient.java @@ -33,7 +33,7 @@ * * ============LICENSE_END============================================ * - * ECOMP is a trademark and service mark of AT&T Intellectual Property. + * */ package org.onap.portalapp.portal.controller; @@ -178,6 +178,7 @@ public class SharedContextRestClient { } finally { if (response != null) response.close(); + httpClient.close(); } return json; } @@ -292,6 +293,7 @@ public class SharedContextRestClient { } finally { if (response != null) response.close(); + httpClient.close(); } return responseJson; }