From 1bd7faf9644337905b217506158a6e95166634e8 Mon Sep 17 00:00:00 2001 From: Joel Parsons Date: Tue, 12 Mar 2013 10:47:45 +0000 Subject: [PATCH] changed op_class variable to more objective-c style variable name operationClass --- AFNetworking/AFHTTPClient.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AFNetworking/AFHTTPClient.m b/AFNetworking/AFHTTPClient.m index d4bba2f..d250397 100644 --- a/AFNetworking/AFHTTPClient.m +++ b/AFNetworking/AFHTTPClient.m @@ -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; } }