James Moger
2011-07-18 7e5ee5a454ec396b5dc2f00e89adeca84d6ef683
src/com/gitblit/IStoredSettings.java
@@ -116,6 +116,26 @@
      }
      return defaultValue;
   }
   /**
    * Returns the char value for the specified key. If the key does not exist
    * or the value for the key can not be interpreted as a char, the
    * defaultValue is returned.
    *
    * @param key
    * @param defaultValue
    * @return key value or defaultValue
    */
   public char getChar(String name, char defaultValue) {
      Properties props = getSettings();
      if (props.containsKey(name)) {
         String value = props.getProperty(name);
         if (!StringUtils.isEmpty(value)) {
            return value.charAt(0);
         }
      }
      return defaultValue;
   }
   /**
    * Returns the string value for the specified key. If the key does not exist