summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLSetDisplayLayoutResponse.m
diff options
context:
space:
mode:
Diffstat (limited to 'SmartDeviceLink/SDLSetDisplayLayoutResponse.m')
-rw-r--r--SmartDeviceLink/SDLSetDisplayLayoutResponse.m14
1 files changed, 4 insertions, 10 deletions
diff --git a/SmartDeviceLink/SDLSetDisplayLayoutResponse.m b/SmartDeviceLink/SDLSetDisplayLayoutResponse.m
index fde37062e..e5148b248 100644
--- a/SmartDeviceLink/SDLSetDisplayLayoutResponse.m
+++ b/SmartDeviceLink/SDLSetDisplayLayoutResponse.m
@@ -19,12 +19,6 @@
return self;
}
-- (instancetype)initWithDictionary:(NSMutableDictionary *)dict {
- if (self = [super initWithDictionary:dict]) {
- }
- return self;
-}
-
- (void)setDisplayCapabilities:(SDLDisplayCapabilities *)displayCapabilities {
if (displayCapabilities != nil) {
[parameters setObject:displayCapabilities forKey:NAMES_displayCapabilities];
@@ -38,7 +32,7 @@
if (obj == nil || [obj isKindOfClass:SDLDisplayCapabilities.class]) {
return (SDLDisplayCapabilities *)obj;
} else {
- return [[SDLDisplayCapabilities alloc] initWithDictionary:(NSMutableDictionary *)obj];
+ return [[SDLDisplayCapabilities alloc] initWithDictionary:(NSDictionary *)obj];
}
}
@@ -57,7 +51,7 @@
} else {
NSMutableArray *newList = [NSMutableArray arrayWithCapacity:[array count]];
for (NSDictionary *dict in array) {
- [newList addObject:[[SDLButtonCapabilities alloc] initWithDictionary:(NSMutableDictionary *)dict]];
+ [newList addObject:[[SDLButtonCapabilities alloc] initWithDictionary:(NSDictionary *)dict]];
}
return newList;
}
@@ -78,7 +72,7 @@
} else {
NSMutableArray *newList = [NSMutableArray arrayWithCapacity:[array count]];
for (NSDictionary *dict in array) {
- [newList addObject:[[SDLSoftButtonCapabilities alloc] initWithDictionary:(NSMutableDictionary *)dict]];
+ [newList addObject:[[SDLSoftButtonCapabilities alloc] initWithDictionary:(NSDictionary *)dict]];
}
return newList;
}
@@ -97,7 +91,7 @@
if (obj == nil || [obj isKindOfClass:SDLPresetBankCapabilities.class]) {
return (SDLPresetBankCapabilities *)obj;
} else {
- return [[SDLPresetBankCapabilities alloc] initWithDictionary:(NSMutableDictionary *)obj];
+ return [[SDLPresetBankCapabilities alloc] initWithDictionary:(NSDictionary *)obj];
}
}