@Nullable
  public static Properties loadProperties(InputStream stream) {
    Properties properties = new Properties();
    try {
      properties.load(stream);
    } catch (IOException e) {
      LOG.warn("Unable to load properties: {}", e.toString());
      return null;
    }
    return properties;
  }
@ Nullable public static Properties loadProperties ( InputStream stream ) { Properties properties = new Properties ( ) ; try { properties . load ( stream ) ; } catch ( IOException e ) { LOG . warn ( "Unable to load properties: {}" , e . toString ( ) ) ; return null ; } return properties ; }
@param stream the stream to read properties from
@return a properties object populated from the stream