elasticsearch/elasticsearch — pull request #6869 by kimchy (2014-07-15 08:12:32+00:00)
Title: Releasable XContentBuilder

make the builder releasable (auto closeable), and use it in shards state
also make XContentParser releasable (AutoCloseable) and not closeable since it doesn't throw an IOException