Ignore:
Timestamp:
2/10/2010 9:08:32 AM (4 years ago)
Author:
lowjoel
Message:

Merged the CodeReview? Branch back to trunk. (Finally!) Closes #275: Code Review.

Location:
trunk/eraser6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser6

  • trunk/eraser6/Eraser.Manager/Schedule.cs

    r1675 r1802  
    273273                if (ScheduleType != RecurringScheduleUnit.Daily && ScheduleType != RecurringScheduleUnit.Weekly && 
    274274                    ScheduleType != RecurringScheduleUnit.Monthly) 
    275                     throw new InvalidOperationException(S._("The ScheduleUnit of the schedule " + 
    276                         "does not require a frequency value, this field would contain garbage.")); 
     275                    throw new InvalidOperationException("The ScheduleUnit of the schedule " + 
     276                        "does not require a frequency value, this field would contain garbage."); 
    277277 
    278278                return frequency; 
     
    314314            { 
    315315                if (ScheduleType != RecurringScheduleUnit.Weekly) 
    316                     throw new InvalidOperationException(S._("The ScheduleUnit of the schedule " + 
    317                         "does not require the WeeklySchedule value, this field would contain garbage")); 
     316                    throw new InvalidOperationException("The ScheduleUnit of the schedule " + 
     317                        "does not require the WeeklySchedule value, this field would contain garbage"); 
    318318 
    319319                return weeklySchedule; 
     
    340340            { 
    341341                if (ScheduleType != RecurringScheduleUnit.Monthly) 
    342                     throw new InvalidOperationException(S._("The ScheduleUnit of the schedule does " + 
    343                         "not require the MonthlySchedule value, this field would contain garbage")); 
     342                    throw new InvalidOperationException("The ScheduleUnit of the schedule does " + 
     343                        "not require the MonthlySchedule value, this field would contain garbage"); 
    344344 
    345345                return monthlySchedule; 
     
    470470        { 
    471471            if (ScheduleType != RecurringScheduleUnit.Weekly) 
    472                 throw new ArgumentException(S._("The ScheduleUnit of the schedule does " + 
    473                     "not use the WeeklySchedule value, this field would contain garbage")); 
     472                throw new ArgumentException("The ScheduleUnit of the schedule does " + 
     473                    "not use the WeeklySchedule value, this field would contain garbage"); 
    474474            return ((int)weeklySchedule & (1 << (int)date.DayOfWeek)) != 0; 
    475475        } 
Note: See TracChangeset for help on using the changeset viewer.