docs: protected long calculateContentLength() {
  
          int result = 0;
          for (CmsFileInfo file : getFilesToUpload().values()) {
              result += file.getFileSize();
          }
          return new Long(result).longValue();
      }