diff options
author | Muller, Alexander (A.) <amulle19@ford.com> | 2016-09-22 16:25:39 -0700 |
---|---|---|
committer | Muller, Alexander (A.) <amulle19@ford.com> | 2016-09-22 16:25:39 -0700 |
commit | bd886c5d29cc2b907c2b42d2833d8e1f879535e5 (patch) | |
tree | 7b6d016983c43211749ac0da2185d7ba0e6947fb /SmartDeviceLink/SDLSetMediaClockTimer.m | |
parent | e6e84cc8c23609ab286c64a2c6a3037313f29908 (diff) | |
download | sdl_ios-bd886c5d29cc2b907c2b42d2833d8e1f879535e5.tar.gz |
Migrated initWithDictionary to take non-mutable dictionary as parameter.
Diffstat (limited to 'SmartDeviceLink/SDLSetMediaClockTimer.m')
-rw-r--r-- | SmartDeviceLink/SDLSetMediaClockTimer.m | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/SmartDeviceLink/SDLSetMediaClockTimer.m b/SmartDeviceLink/SDLSetMediaClockTimer.m index 325d0e347..1b81a7be5 100644 --- a/SmartDeviceLink/SDLSetMediaClockTimer.m +++ b/SmartDeviceLink/SDLSetMediaClockTimer.m @@ -17,12 +17,6 @@ return self; } -- (instancetype)initWithDictionary:(NSMutableDictionary *)dict { - if (self = [super initWithDictionary:dict]) { - } - return self; -} - - (void)setStartTime:(SDLStartTime *)startTime { if (startTime != nil) { [parameters setObject:startTime forKey:NAMES_startTime]; @@ -36,7 +30,7 @@ if (obj == nil || [obj isKindOfClass:SDLStartTime.class]) { return (SDLStartTime *)obj; } else { - return [[SDLStartTime alloc] initWithDictionary:(NSMutableDictionary *)obj]; + return [[SDLStartTime alloc] initWithDictionary:(NSDictionary *)obj]; } } @@ -53,7 +47,7 @@ if (obj == nil || [obj isKindOfClass:SDLStartTime.class]) { return (SDLStartTime *)obj; } else { - return [[SDLStartTime alloc] initWithDictionary:(NSMutableDictionary *)obj]; + return [[SDLStartTime alloc] initWithDictionary:(NSDictionary *)obj]; } } |