Johann Ollivier-Lapeyre
2014-03-27 21be4b4b2370b7eddf839fe64dd4207f72a05a2a
src/main/java/com/gitblit/IStoredSettings.java
@@ -343,6 +343,16 @@
   }
   /**
    * Tests for the existence of a setting.
    *
    * @param key
    * @return true if the setting exists
    */
   public boolean hasSettings(String key) {
      return getString(key, null) != null;
   }
   /**
    * Updates the values for the specified keys and persists the entire
    * configuration file.
    *
@@ -351,4 +361,14 @@
    * @return true if successful
    */
   public abstract boolean saveSettings(Map<String, String> updatedSettings);
   /**
    * Merge all settings from the settings parameter into this instance.
    *
    * @param settings
    */
   public void merge(IStoredSettings settings) {
      getSettings().putAll(settings.getSettings());
      overrides.putAll(settings.overrides);
   }
}