The GitHub Actions job "Java CI" on commons-vfs.git has failed.
Run started by GitHub user garydgregory (triggered by garydgregory).

Head commit for run:
db5c72d322e5be8635cf6ee32156f0810e3383ad / beise <t.be...@web.de>
VFS-843: Close the HttpConnection after consuming the entire HttpEntity. (#421)

* VFS-843: Close the HttpConnection after consuming the entire HttpEntity.

Instead of calling `((HttpRequestBase) request).releaseConnection()` directly 
after sending the request, encapsulate the HttpResponse in a try-with-resource 
block. This way, the connection is released after the HttpEntity is fully 
consumed.

* VFS-843: Close the HttpConnection after consuming the entire HttpEntity.

Fixes empty try-with-resource blocks and workaround due to PMD violation 'Empty 
try body - you could rename the resource to 'ignored' in try-with-resource 
statements.

---------

Co-authored-by: Thorsten Beise <thorsten.be...@lbbw-am.de>

Report URL: https://github.com/apache/commons-vfs/actions/runs/6213384530

With regards,
GitHub Actions via GitBox

Reply via email to