示例#1
0
  public void refresh() {
    if (currentContext == null) return;

    try {
      settings = new Properties();
      loadSettings();
      settingsLoaded = true;
    } catch (Exception e) {
      throw new RuntimeException("Couldn't load settings.", e);
    }
  }