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. * @@ -359,5 +369,6 @@ */ public void merge(IStoredSettings settings) { getSettings().putAll(settings.getSettings()); overrides.putAll(settings.overrides); } }