Changeset 2046 for trunk/eraser


Ignore:
Timestamp:
5/4/2010 3:04:54 AM (5 years ago)
Author:
lowjoel
Message:

Compilo fix.

Location:
trunk/eraser/Eraser.DefaultPlugins/ErasureTargets
Files:
2 edited

Legend:

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

    r2044 r2046  
    9494            Match match = regex.Match(argument); 
    9595 
     96            string[] trueValues = new string[] { "yes", "true" }; 
    9697            if (match.Groups["directoryName"].Success) 
    9798            { 
     
    103104                else 
    104105                    folderDelete.Checked = 
    105                         trueValues.IndexOf(match.Groups["directoryDeleteIfEmptyValue"].Value) != -1; 
     106                        trueValues.Contains(match.Groups["directoryDeleteIfEmptyValue"].Value); 
    106107 
    107108                if (match.Groups["directoryExcludeMask"].Success) 
  • trunk/eraser/Eraser.DefaultPlugins/ErasureTargets/UnusedSpaceErasureTargetConfigurer.cs

    r2044 r2046  
    142142            Match match = regex.Match(argument); 
    143143 
     144            string[] trueValues = new string[] { "yes", "true" }; 
    144145            if (match.Groups["unusedVolume"].Success) 
    145146            { 
     
    157158                else 
    158159                    unusedClusterTips.Checked = 
    159                         trueValues.IndexOf(match.Groups["unusedTipsValue"].Value) != -1; 
     160                        trueValues.Contains(match.Groups["unusedTipsValue"].Value); 
    160161            } 
    161162 
Note: See TracChangeset for help on using the changeset viewer.