OpenSearch/server
Lee Hinman e7d1e12675
Wrap stream passed to createParser in try-with-resources (#28897)
* Wrap stream passed to createParser in try-with-resources

This wraps the stream (`.streamInput()`) that is passed to many of the
`createParser` instances in the enclosing (or a new) try-with-resources block.
This ensures the `BytesReference.streamInput()` is closed.

Relates to #28504

* Use try-with-resources instead of closing in a finally block
2018-03-04 16:48:03 -07:00
..
cli Rename core module to server (#28180) 2018-01-11 11:30:43 -07:00
licenses Upgrade t-digest to 3.2 (#28295) (#28305) 2018-02-15 08:23:20 +00:00
src Wrap stream passed to createParser in try-with-resources (#28897) 2018-03-04 16:48:03 -07:00
build.gradle Upgrade t-digest to 3.2 (#28295) (#28305) 2018-02-15 08:23:20 +00:00