static Properties loadClose ( final InputStream in , final Object source ) { final Properties props = new Properties ( ) ; if ( null != in ) { try { props . load ( in ) ; } catch ( final IOException e ) { LowLevelLogUtil . logException ( "Unable to read " + source , e ) ; } finally { try { in . close ( ) ; } catch ( final IOException e ) { LowLevelLogUtil . logException ( "Unable to close " + source , e ) ; } } } return props ; }
Loads and closes the given property input stream . If an error occurs log to the status logger .