The comments added for the @deprecated tags in
r932551 - Deprecated HttpEntity#consumeContent in favor of a more
standard InputStream#close contract
do not seem to make sense.
For example, in BasicHttpEntry:
/**
* @deprecated see {...@link #getContent()} and {...@link
#writeTo(OutputStream)}
*/
public void consumeContent() throws IOException {
Should the comment refer to close() instead? i.e. the user should call
close() on the getContent() response?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]