android/sdk/src/main/java/io/o2mc/sdk/util/Util.java
public static boolean isValidMaxRetries(int maxRetries) {
    if (maxRetries > 1000) {
      LogW(TAG, String.format(
          "isValidMaxRetries: Max retries '%s' is valid, but seems excessive. Are you sure you want to wait %s iterations before giving up on sending events?",
          maxRetries, maxRetries));
    }
    return maxRetries > 0;
  }
/**
   * Checks whether or not the max retries given is above 0.
   * Anything above is allowed. Some insanely high values may not make much sense, and will be given a warning, but allowed.
   *
   * @param maxRetries the amount of times to retry dispatching events
   * @return true if the max retries value is allowed
   */
Checks whether or not the max retries given is above 0.
Anything above is allowed. Some insanely high values may not make much sense, and will be given a warning, but allowed.

@param maxRetries the amount of times to retry dispatching events
@return true if the max retries value is allowed
Checks whether or not the max retries given is above 0 . Anything above is allowed . Some insanely high values may not make much sense and will be given a warning but allowed . @param maxRetries the amount of times to retry dispatching events @return true if the max retries value is allowed
public static boolean isValidMaxRetries(int maxRetries) {
    if (maxRetries > 1000) {
      LogW(TAG, String.format(
          "isValidMaxRetries: Max retries '%s' is valid, but seems excessive. Are you sure you want to wait %s iterations before giving up on sending events?",
          maxRetries, maxRetries));
    }
    return maxRetries > 0;
  }
public static boolean isValidMaxRetries ( int maxRetries ) { if ( maxRetries > 1000 ) { LogW ( TAG , String . format ( "isValidMaxRetries: Max retries '%s' is valid, but seems excessive. Are you sure you want to wait %s iterations before giving up on sending events?" , maxRetries , maxRetries ) ) ; } return maxRetries > 0 ; }
Checks whether or not the max retries given is above 0.
Checks whether or not the max retries given is above 0 .