class Elasticsearch5 {

  private Elasticsearch5() {

  }

  static final String KEY = "key";

  static int parseIntegerProperty(final Properties properties, final String key, final int defaultValue) {<FILL_FUNCTION_BODY>}

}

    final String value = properties.getProperty(key);
    return value == null ? defaultValue : Integer.parseInt(value);
  
<no_super_class>