OPENNLP-849 Improve handling of InputStreams

All InputStreams are now using the try-with-resources statement and some streams are now also closed correctly.

git-svn-id: https://svn.apache.org/repos/asf/opennlp/trunk@1744917 13f79535-47bb-0310-9956-ffa450edef68
1 file changed