src/main/java/com/gitblit/IStoredSettings.java | ●●●●● patch | view | raw | blame | history |
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. *