mekomsolutions / openmrs-module-initializer

The OpenMRS Initializer module is an API-only module that processes the content of the configuration folder when it is found inside OpenMRS' application data directory.
MIT License
23 stars 79 forks source link

Use InputStream auto-close feature. #210

Closed icrc-fdeniger closed 1 year ago

icrc-fdeniger commented 1 year ago

Use try-with-resources feature to close resources. For BaseInputStreamLoader, it is not needed to use IOUtils.closeQuietly(is) since it's done implicitly with try(...).