docs: protected void reload(final boolean forceReload) throws IOException {
  
          boolean reload = forceReload;
          for (int i = 0; i < locations.length; i++) {
              Resource location = locations[i];
              File file;
  
              try {
                  file = location.getFile();
              } catch (IOException e) {
                  // not a file resource
                  // may be spring boot
                  log.warn(e.toString());
                  continue;
              }
              try {
                  long l = file.lastModified();
  
                  if (l > lastModified[i]) {
                      lastModified[i] = l;
                      reload = true;
                  }
              } catch (Exception e) {
                  // cannot access file. assume unchanged.
                  if (log.isDebugEnabled()) {
                      log.debug("can't determine modification time of " + file + " for " + location, e);
                  }
              }
          }
          if (reload) {
              doReload();
          }
      }