diff options
author | Muller, Alexander (A.) <amulle19@ford.com> | 2016-11-06 16:30:12 -0800 |
---|---|---|
committer | Muller, Alexander (A.) <amulle19@ford.com> | 2016-11-06 16:30:12 -0800 |
commit | 95b55b5f722aae992bfe77cb0b998278f32ee526 (patch) | |
tree | 52ec3e34286d926519b94ac22d8ba83550fcd048 /SmartDeviceLink/SDLDialNumber.m | |
parent | 7cbf3195c5a8278b8bdcd22d4b8752f7620918c0 (diff) | |
download | sdl_ios-95b55b5f722aae992bfe77cb0b998278f32ee526.tar.gz |
Updated missing parameters.
Diffstat (limited to 'SmartDeviceLink/SDLDialNumber.m')
-rw-r--r-- | SmartDeviceLink/SDLDialNumber.m | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/SmartDeviceLink/SDLDialNumber.m b/SmartDeviceLink/SDLDialNumber.m index 1e57ab187..b46b8579e 100644 --- a/SmartDeviceLink/SDLDialNumber.m +++ b/SmartDeviceLink/SDLDialNumber.m @@ -26,15 +26,11 @@ } - (void)setNumber:(NSString *)number { - if (number != nil) { - parameters[SDLNameNumber] = number; - } else { - [parameters removeObjectForKey:SDLNameNumber]; - } + [self setObject:number forName:SDLNameNumber]; } - (NSString *)number { - return parameters[SDLNameNumber]; + return [self objectForName:SDLNameNumber]; } @end |