elasticsearch/elasticsearch — pull request #5689 by jpountz (2014-04-04 16:07:54+00:00)
Title: Make Releasable extend AutoCloseable.

Java7's AutoCloseable allows to manage resources more nicely using
try-with-resources statements. Since the semantics of our Releasable interface
are very close to a Closeable, let's switch to it.