Closed richard-salac closed 3 days ago
Describe the bug API ML uses ClosableHttpClient.execute(...) method in multiple places. The method returns ClosableHttpResponse, which requires closing to prevent resource leak. The method is also deprecated (see javadoc above) due to this reason.
e.g.
Suggest to replace the deprecated method with the recommended one from javadoc.
Details
https://github.com/zowe/api-layer/wiki/Issue-management
Does this issue exist also in Zowe 3.x or only in the 2.x stream?
It is valid for both.
Describe the bug API ML uses ClosableHttpClient.execute(...) method in multiple places. The method returns ClosableHttpResponse, which requires closing to prevent resource leak. The method is also deprecated (see javadoc above) due to this reason.
e.g.
Suggest to replace the deprecated method with the recommended one from javadoc.
Details
https://github.com/zowe/api-layer/wiki/Issue-management