Removed superfluous method call and confusing comments
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@555207 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
10d199b557
commit
0a7a2b6c72
|
@ -91,11 +91,6 @@ public class ClientConnectionRelease {
|
|||
|
||||
// Closing the input stream will trigger connection release
|
||||
reader.close();
|
||||
// Alternatively you may want to call this method when done
|
||||
// with the response entity to ensure the response content has
|
||||
// been fully consumed. This will also trigger connection
|
||||
// release
|
||||
entity.consumeContent();
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue