code: @Override
      protected List<ChecksumFile> getFilesToProcess()
      {
          final List<ChecksumFile> filesToProcess = new ArrayList<ChecksumFile>();
          for ( final FileSet fileSet : fileSets )
          {
              final DirectoryScanner scanner = new DirectoryScanner();
              final String fileSetDirectory = (new File( fileSet.getDirectory() ) ).getPath();
  
              scanner.setBasedir( fileSetDirectory );
              String[] includes;
              if ( fileSet.getIncludes() != null && !fileSet.getIncludes().isEmpty() )
              {
                  final List<String> fileSetIncludes = fileSet.getIncludes();
                  includes = fileSetIncludes.toArray( new String[fileSetIncludes.size()] );
              }
              else
              {
                  includes = DEFAULT_INCLUDES;
              }
              scanner.setIncludes( includes );
  
              if ( fileSet.getExcludes() != null && !fileSet.getExcludes().isEmpty() )
              {
                  final List<String> fileSetExcludes = fileSet.getExcludes();
                  scanner.setExcludes( fileSetExcludes.toArray( new String[fileSetExcludes.size()] ) );
              }
  
              scanner.addDefaultExcludes();
  
              scanner.scan();
  
              for ( String filePath : scanner.getIncludedFiles() )
              {
                  filesToProcess.add( new ChecksumFile( (new File( fileSetDirectory ) ).getPath(), new File( fileSetDirectory, filePath ), null, null ) );
              }
              }
  
          return filesToProcess;
      }
docs: Build the list of files from which digests should be generated.
  
  @return the list of files that should be processed.