code: private void addFoldersToSearchIn(final List<String> folders) {
  
          if (null == folders) {
              return;
          }
  
          for (String folder : folders) {
              if (!CmsResource.isFolder(folder)) {
                  folder += "/";
              }
  
              m_foldersToSearchIn.add(folder);
          }
      }
docs: Adds folders to perform the search in.
  @param folders Folders to search in.