private static int getInt(ResourceBundle bundle, @NonNls String resource) {
    try {
      String value = getString(bundle, resource);
      return value == null ? 0 : Integer.parseInt(value);
    }
    catch (NumberFormatException ignored) {
      return 0;
    }
  }
private static int getInt(ResourceBundle bundle, @NonNls String resource)