Ignore:
Timestamp:
5/16/2010 11:14:29 AM (2 years ago)
Author:
lowjoel
Message:

Modified all dependent code to compile after the change in the previous revision.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser/Eraser.DefaultPlugins/ErasureTargets/SecureMoveErasureTarget.cs

    r2118 r2149  
    159159            { 
    160160                //Compute the total size of the file on the disk (including ADSes) 
    161                 List<StreamInfo> fileStreams = new List<StreamInfo>( 
    162                     file.GetADSes().Select(x => new StreamInfo(file.FullName, x))); 
     161                List<StreamInfo> fileStreams = new List<StreamInfo>(file.GetADSes()); 
    163162                fileStreams.Add(new StreamInfo(file.FullName)); 
    164163                long fileSize = fileStreams.Sum(x => x.Length); 
     
    315314        private void EraseFile(FileInfo info, SteppedProgressManager eraseProgress) 
    316315        { 
    317             List<StreamInfo> streams = new List<StreamInfo>( 
    318                 info.GetADSes().Select(x => new StreamInfo(info.FullName, x))); 
     316            List<StreamInfo> streams = new List<StreamInfo>(info.GetADSes()); 
    319317            streams.Add(new StreamInfo(info.FullName)); 
    320318            long fileSize = streams.Sum(x => x.Length); 
Note: See TracChangeset for help on using the changeset viewer.