docs: protected String trimIfNeeded(final String data) {
          String resultData = data;
  
          if (trimDataBeforeValidation && (data != null)) {
              resultData = data.trim();
          }
  
          return resultData;
      }