Removing excess whitespace
This commit is contained in:
parent
bf1fe2deef
commit
ebc9f7d50e
1 changed files with 0 additions and 4 deletions
|
|
@ -58,7 +58,6 @@ static char kAFImageRequestOperationObjectKey;
|
||||||
|
|
||||||
+ (NSOperationQueue *)af_sharedImageRequestOperationQueue {
|
+ (NSOperationQueue *)af_sharedImageRequestOperationQueue {
|
||||||
static NSOperationQueue *_af_imageRequestOperationQueue = nil;
|
static NSOperationQueue *_af_imageRequestOperationQueue = nil;
|
||||||
|
|
||||||
static dispatch_once_t onceToken;
|
static dispatch_once_t onceToken;
|
||||||
dispatch_once(&onceToken, ^{
|
dispatch_once(&onceToken, ^{
|
||||||
_af_imageRequestOperationQueue = [[NSOperationQueue alloc] init];
|
_af_imageRequestOperationQueue = [[NSOperationQueue alloc] init];
|
||||||
|
|
@ -124,8 +123,6 @@ static char kAFImageRequestOperationObjectKey;
|
||||||
}
|
}
|
||||||
|
|
||||||
[[[self class] af_sharedImageCache] cacheImage:responseObject forRequest:urlRequest];
|
[[[self class] af_sharedImageCache] cacheImage:responseObject forRequest:urlRequest];
|
||||||
|
|
||||||
|
|
||||||
} failure:^(AFHTTPRequestOperation *operation, NSError *error) {
|
} failure:^(AFHTTPRequestOperation *operation, NSError *error) {
|
||||||
if ([[urlRequest URL] isEqual:[[self.af_imageRequestOperation request] URL]]) {
|
if ([[urlRequest URL] isEqual:[[self.af_imageRequestOperation request] URL]]) {
|
||||||
self.af_imageRequestOperation = nil;
|
self.af_imageRequestOperation = nil;
|
||||||
|
|
@ -134,7 +131,6 @@ static char kAFImageRequestOperationObjectKey;
|
||||||
if (failure) {
|
if (failure) {
|
||||||
failure(operation.request, operation.response, error);
|
failure(operation.request, operation.response, error);
|
||||||
}
|
}
|
||||||
|
|
||||||
}];
|
}];
|
||||||
|
|
||||||
self.af_imageRequestOperation = requestOperation;
|
self.af_imageRequestOperation = requestOperation;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue