private void addRemovedFiles()

in src/net/sourceforge/transparent/ChangeManagement/CCaseChangeProvider.java [642:673]


  private void addRemovedFiles( final ChangelistBuilder builder )
  {
    //  Use additional set to remove async modification conflicts
    final HashSet<String> files = new HashSet<>(host.removedFolders);
    for( String path : files )
      builder.processLocallyDeletedFile( VcsUtil.getFilePath( path, true ) );

    files.clear();
    files.addAll( host.removedFiles );
    for( String path : files )
      builder.processLocallyDeletedFile( VcsUtil.getFilePath( path, false ) );

    files.clear();
    files.addAll( host.deletedFolders );
    for( String path : files )
    {
      FilePath refPath = VcsUtil.getFilePath( path, true );
      String activity = findActivityForFile( refPath, refPath );
      builder.processChangeInList( new Change( new CurrentContentRevision( refPath ), null, FileStatus.DELETED ), activity, TransparentVcs.getKey());
    }

    files.clear();
    files.addAll( host.deletedFiles );
    for( String path : files )
    {
      FilePath refPath = VcsUtil.getFilePath( path, false );
      CCaseContentRevision revision = ContentRevisionFactory.getRevision( refPath, project );
      String activity = findActivityForFile( refPath, refPath );

      builder.processChangeInList( new Change( revision, null, FileStatus.DELETED ), activity, TransparentVcs.getKey());
    }
  }