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:
parent
b98a53efd2
commit
1d9f4dad93
|
@ -67,13 +67,13 @@ class ResponseEntityProxy extends HttpEntityWrapper implements EofSensorWatcher
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void abortConnection() throws IOException {
|
private void abortConnection() {
|
||||||
if (this.connHolder != null) {
|
if (this.connHolder != null) {
|
||||||
this.connHolder.abortConnection();
|
this.connHolder.abortConnection();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void releaseConnection() throws IOException {
|
public void releaseConnection() {
|
||||||
if (this.connHolder != null) {
|
if (this.connHolder != null) {
|
||||||
this.connHolder.releaseConnection();
|
this.connHolder.releaseConnection();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue