private void load()

in src/main/java/com/googlesource/gerrit/plugins/gitblit/app/GitBlitSettings.java [71:91]


  private void load() throws IOException {
    InputStream resin = openPropertiesFile();
    try {
      properties = new Properties();
      properties.load(resin);
      properties.put("git.repositoriesFolder", getBasePath().getAbsolutePath());
      properties.put("realm.userService", GerritToGitBlitUserService.class.getName());
      if (properties.get("web.otherUrls") != null) {
        properties.put(
            "web.otherUrls",
            (config.getGitHttpUrl() + " " + config.getGitSshUrl()).trim()
                + " "
                + properties.get("web.otherUrls"));
      } else {
        properties.put(
            "web.otherUrls", (config.getGitHttpUrl() + " " + config.getGitSshUrl()).trim());
      }
    } finally {
      resin.close();
    }
  }