Changeset 925


Ignore:
Timestamp:
4/29/2009 12:50:53 PM (6 years ago)
Author:
lowjoel
Message:

Missed out these in the previous commit - the fact that the LogSessions? list was actually more accurately described a Dictionary and that there is no need to assign default values to variables (In the case of FL16KB the assignment is atomic - exceptions come from the function it is calling thus if an exception is caught the variable is not assigned)

Location:
branches/eraser6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/DefaultPlugins/EraseFirstLast16KB.cs

    r905 r925  
    4747                catch (Exception) 
    4848                { 
    49                     method = null; 
    5049                } 
    5150 
  • branches/eraser6/Eraser/LogForm.cs

    r920 r925  
    4646            //Add all the existing log messages 
    4747            this.log.BeginUpdate(); 
    48             LogSessionCollection log = task.Log.Entries; 
     48            LogSessionDictionary log = task.Log.Entries; 
    4949            foreach (DateTime sessionTime in log.Keys) 
    5050            { 
     
    109109        { 
    110110            StringBuilder text = new StringBuilder(); 
    111             LogSessionCollection logEntries = task.Log.Entries; 
     111            LogSessionDictionary logEntries = task.Log.Entries; 
    112112            foreach (DateTime sessionTime in logEntries.Keys) 
    113113            { 
Note: See TracChangeset for help on using the changeset viewer.