James Moger
2011-07-20 a75a1819f4c7fa5080ddb47545fe9012a842e5b3
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