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/NSCalendarDate-NJRExtensions.m

    r53 r602  
    3131}
    3232
    33 + (NSCalendarDate *)dateWithDate:(NSDate *)date atTime:(NSDate *)time;
     33+ (NSCalendarDate *)dateWithDate:(NSDate *)aDate atTime:(NSDate *)aTime;
    3434{
    3535    NSCalendarDate *calTime, *calDate;
    36     if (time == nil || date == nil) return nil;
    37     calTime = [NSCalendarDate dateWithDate: time];
    38     calDate = [NSCalendarDate dateWithDate: date];
     36    if (aTime == nil || aDate == nil) return nil;
     37    calTime = [NSCalendarDate dateWithDate: aTime];
     38    calDate = [NSCalendarDate dateWithDate: aDate];
    3939    if (calTime == nil || calDate == nil) return nil;
    4040    return [NSCalendarDate dateWithYear: [calDate yearOfCommonEra]
Note: See TracChangeset for help on using the changeset viewer.