On Wed, 2012-01-18 at 11:56 -0800, Karthik K wrote: > As part of httpclient development, I find myself writing these helper > utilities to release resources ( HttpClient / HttpEntity ) etc , very > similar to IOUtils , from commons.io to release resources , that closes > 'quietly' . > > > o.a.h.utils.HttpClientUtils > closeQuietly(HttpClient) > and closeQuietly(HttpResponse response) > > https://issues.apache.org/jira/browse/HTTPCLIENT-1159 . > > + some test cases as well. > > Let me know your thoughts on the same. > > -- > Karthik.
I'll happily commit the patch to SVN trunk if no objections are raised within a day or two. One minor issue is that the proposed patch makes use of static Log instances that generally are to be avoided. Otherwise the patch looks good to me. Cheers Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
