docs: private void collectResources() throws CmsException {
  
          String defaultLocale = CmsLocaleManager.getDefaultLocale().toString();
          String locale1 = m_cms.readPropertyObject(getParamFolder1(), "locale", true).getValue(defaultLocale);
          String locale2 = m_cms.readPropertyObject(getParamFolder2(), "locale", true).getValue(defaultLocale);
          m_report.println(
              Messages.get().container(Messages.RPT_CREATE_EXTERNAL_LINK_0, getParamFolder1(), locale1),
              I_CmsReport.FORMAT_NOTE);
          m_report.println(
              Messages.get().container(Messages.RPT_CREATE_EXTERNAL_LINK_0, getParamFolder2(), locale2),
              I_CmsReport.FORMAT_NOTE);
  
          // collect all resources in folder 1
          collectFolder(getParamFolder1(), getParamFolder2(), 1);
          // collect all resources in folder 2
          collectFolder(getParamFolder2(), getParamFolder1(), 2);
  
          // report the results of the collection
          m_report.println(Messages.get().container(Messages.RPT_SCANNING_RESULTS_0), I_CmsReport.FORMAT_HEADLINE);
  
          m_report.println(Messages.get().container(Messages.RPT_FOLDER1_EXCLUSIVE_0), I_CmsReport.FORMAT_HEADLINE);
          reportList(m_folder1Exclusive, false);
          m_report.println(Messages.get().container(Messages.RPT_FOLDER2_EXCLUSIVE_0), I_CmsReport.FORMAT_HEADLINE);
          reportList(m_folder2Exclusive, false);
          m_report.println(Messages.get().container(Messages.RPT_FOLDERS_SIBLING_0), I_CmsReport.FORMAT_HEADLINE);
          reportList(m_foldersSibling, false);
          m_report.println(Messages.get().container(Messages.RPT_FOLDERS_EQUALNAMES_0), I_CmsReport.FORMAT_HEADLINE);
          reportList(m_foldersEqualnames, true);
          m_report.println(Messages.get().container(Messages.RPT_FOLDERS_DIFFERENTTYPES_0), I_CmsReport.FORMAT_HEADLINE);
          reportList(m_foldersDifferenttypes, false);
  
      }