James Moger
2012-06-06 f96d3233fde0d6dc5b61690e59794d209d77ae90
src/com/gitblit/GitBlit.java
@@ -30,6 +30,7 @@
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Map;
@@ -252,6 +253,17 @@
    */
   public static List<String> getStrings(String key) {
      return self().settings.getStrings(key);
   }
   /**
    * Returns a map of space-separated key-value pairs from the specified key.
    *
    * @see IStoredSettings.getStrings(String key)
    * @param name
    * @return map of string, string
    */
   public static Map<String, String> getMap(String key) {
      return self().settings.getMap(key);
   }
   /**
@@ -837,7 +849,7 @@
         model.useTickets = getConfig(config, "useTickets", false);
         model.useDocs = getConfig(config, "useDocs", false);
         model.accessRestriction = AccessRestrictionType.fromName(getConfig(config,
               "accessRestriction", null));
               "accessRestriction", settings.getString(Keys.git.defaultAccessRestriction, null)));
         model.showRemoteBranches = getConfig(config, "showRemoteBranches", false);
         model.isFrozen = getConfig(config, "isFrozen", false);
         model.showReadme = getConfig(config, "showReadme", false);
@@ -859,7 +871,7 @@
               Constants.CONFIG_GITBLIT, null, "indexBranch")));
         
         // Custom defined properties
         model.customFields = new HashMap<String, String>();
         model.customFields = new LinkedHashMap<String, String>();
         for (String aProperty : config.getNames(Constants.CONFIG_GITBLIT, Constants.CONFIG_CUSTOM_FIELDS)) {
            model.customFields.put(aProperty, config.getString(Constants.CONFIG_GITBLIT, Constants.CONFIG_CUSTOM_FIELDS, aProperty));
         }