code: private FormValidation validate(final String highThreshold, final String normalThreshold, final String message) {
          try {
              int high = Integer.parseInt(highThreshold);
              int normal = Integer.parseInt(normalThreshold);
              if (isValid(normal, high)) {
                  return FormValidation.ok();
              }
          }
          catch (NumberFormatException exception) {
              // ignore and return failure
          }
          return FormValidation.error(message);
      }
docs: Performs on-the-fly validation on thresholds for high and normal warnings.
  
  @param highThreshold
  the threshold for high warnings
  @param normalThreshold
  the threshold for normal warnings
  @param message
  the validation message
  @return the validation result