OpenSearch/modules/reindex
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
..
src Wrap stream passed to createParser in try-with-resources (#28897) 2018-03-04 16:48:03 -07:00
build.gradle Build: Omit dependency licenses check for elasticsearch deps (#28304) 2018-01-18 14:15:44 -08:00