Ignore:
Timestamp:
12/21/09 22:12:37 (15 years ago)
Author:
Nicholas Riley
Message:

Rename variables which shadow stdlib functions (and maxSize).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cocoa/Pester/Source/PSAlarm.m

    r587 r602  
    171171}
    172172
    173 - (void)setForDate:(NSDate *)date atTime:(NSDate *)time;
     173- (void)setForDate:(NSDate *)aDate atTime:(NSDate *)aTime;
    174174{
    175175    NSCalendarDate *dateTime;
    176     if (time == nil && date == nil) {
     176    if (aTime == nil && aDate == nil) {
    177177        [self _beInvalid: @"Please specify an alarm date and time."]; return;
    178178    }
    179     if (time == nil) {
     179    if (aTime == nil) {
    180180        [self _beInvalid: @"Please specify an alarm time."]; return;
    181181    }
    182     if (date == nil) {
     182    if (aDate == nil) {
    183183        [self _beInvalid: @"Please specify an alarm date."]; return;
    184184    }
    185185    // XXX if calTime's date is different from the default date, complain
    186     dateTime = [NSCalendarDate dateWithDate: date atTime: time];
     186    dateTime = [NSCalendarDate dateWithDate: aDate atTime: aTime];
    187187    if (dateTime == nil) {
    188188        [self _beInvalid: @"Please specify a reasonable date and time."]; return;
Note: See TracChangeset for help on using the changeset viewer.