mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-26 05:45:39 +08:00
Remove another pair of keyed subscript access instances
This commit is contained in:
@@ -190,8 +190,8 @@ NSString * const RKMappingTestVerificationFailureException = @"RKMappingTestVeri
|
||||
reason:(NSString *)reason
|
||||
{
|
||||
NSMutableDictionary *fullUserInfo = [userInfo mutableCopy];
|
||||
fullUserInfo[NSLocalizedDescriptionKey] = description;
|
||||
fullUserInfo[NSLocalizedFailureReasonErrorKey] = reason;
|
||||
[fullUserInfo setObject:description forKey:NSLocalizedDescriptionKey];
|
||||
[fullUserInfo setObject:reason forKey:NSLocalizedFailureReasonErrorKey];
|
||||
return [NSError errorWithDomain:RKMappingTestErrorDomain code:errorCode userInfo:fullUserInfo];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user