Closed mkonicek closed 12 years ago
Configuration.loadResource("nonExistingFileName") throws NullPointerException from java.io.Reader.
This fixes it to throw FileNotFoundException, which is the same as when using Configuration.load().
See getResourceAsStream.
Thank you for your contribution. It make sense to remove that NullPointerException.
NullPointerException
Configuration.loadResource("nonExistingFileName") throws NullPointerException from java.io.Reader.
This fixes it to throw FileNotFoundException, which is the same as when using Configuration.load().
See getResourceAsStream.