Sounds like an oversight. I can't think of any reason why closing the 
InputStream would be correct for some ConfigFactories but incorrect for 
PropertiesConfigurationFactory.

Closing it should be fine. 

Sent from my iPhone

> On 2016/08/21, at 19:40, Mikael Ståldal <mikael.stal...@magine.com> wrote:
> 
> Is a ConfigurationFactory that uses the InputStream from the 
> ConfigurationSource supposed to close the stream when done? It seems like 
> XmlConfigurationFactory, JsonConfigurationFactory and 
> YamlConfigurationFactory do close the stream.
> 
> But PropertiesConfigurationFactory does not. Should it?

Reply via email to