Declared exception is not actually thrown by the method.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1725781 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2016-01-20 19:18:46 +00:00
parent b98a53efd2
commit 1d9f4dad93
1 changed files with 2 additions and 2 deletions

View File

@ -67,13 +67,13 @@ class ResponseEntityProxy extends HttpEntityWrapper implements EofSensorWatcher
}
}
private void abortConnection() throws IOException {
private void abortConnection() {
if (this.connHolder != null) {
this.connHolder.abortConnection();
}
}
public void releaseConnection() throws IOException {
public void releaseConnection() {
if (this.connHolder != null) {
this.connHolder.releaseConnection();
}