diff --git a/SDWebImage/SDWebImageDownloaderOperation.m b/SDWebImage/SDWebImageDownloaderOperation.m index 1646ebef9..b9ad2fa0f 100644 --- a/SDWebImage/SDWebImageDownloaderOperation.m +++ b/SDWebImage/SDWebImageDownloaderOperation.m @@ -12,10 +12,7 @@ #import #import "SDWebImageManager.h" -@interface SDWebImageDownloaderOperation () { - BOOL _executing; - BOOL _finished; -} +@interface SDWebImageDownloaderOperation () @property (copy, nonatomic) SDWebImageDownloaderProgressBlock progressBlock; @property (copy, nonatomic) SDWebImageDownloaderCompletedBlock completedBlock; @@ -181,22 +178,12 @@ - (void)setFinished:(BOOL)finished { [self didChangeValueForKey:@"isFinished"]; } -- (BOOL)isFinished -{ - return _finished; -} - - (void)setExecuting:(BOOL)executing { [self willChangeValueForKey:@"isExecuting"]; _executing = executing; [self didChangeValueForKey:@"isExecuting"]; } -- (BOOL)isExecuting -{ - return _executing; -} - - (BOOL)isConcurrent { return YES; }