public InputStream openConfig ( String name ) { InputStream is = null ; String configPath = configHome + "/" + name ; try { return FileUtils . readResource ( configPath ) ; } catch ( Throwable e ) { LOG . debug ( "Config " + name + " (" + configPath + ") not found" , e ) ; } return is ; }
Do not forget to close InputStream