changed op_class variable to more objective-c style variable name operationClass
This commit is contained in:
parent
6a46815eaf
commit
1bd7faf964
1 changed files with 3 additions and 3 deletions
|
|
@ -519,9 +519,9 @@ static void AFNetworkReachabilityReleaseCallback(const void *info) {
|
|||
AFHTTPRequestOperation *operation = nil;
|
||||
|
||||
for (NSString * className in self.registeredHTTPOperationClassNames) {
|
||||
Class op_class = NSClassFromString(className);
|
||||
if (op_class && [op_class canProcessRequest:urlRequest]) {
|
||||
operation = [(AFHTTPRequestOperation *)[op_class alloc] initWithRequest:urlRequest];
|
||||
Class operationClass = NSClassFromString(className);
|
||||
if (operationClass && [operationClass canProcessRequest:urlRequest]) {
|
||||
operation = [(AFHTTPRequestOperation *)[operationClass alloc] initWithRequest:urlRequest];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue