docs: public static int toIntWithDefault(String value, int defaultValue) {
  
          int result = defaultValue;
          try {
              result = Integer.parseInt(value);
          } catch (@SuppressWarnings("unused") Exception e) {
              // Do nothing, return default.
          }
          return result;
      }