Merge pull request #3078 from wtracyliu/fix_typos
fix typos in SDImageCache
This commit is contained in:
commit
f45c0441fd
|
@ -281,7 +281,7 @@ static NSString * _defaultDiskCacheDirectory;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// Make sure to call form io queue by caller
|
// Make sure to call from io queue by caller
|
||||||
- (void)_storeImageDataToDisk:(nullable NSData *)imageData forKey:(nullable NSString *)key {
|
- (void)_storeImageDataToDisk:(nullable NSData *)imageData forKey:(nullable NSString *)key {
|
||||||
if (!imageData || !key) {
|
if (!imageData || !key) {
|
||||||
return;
|
return;
|
||||||
|
@ -316,7 +316,7 @@ static NSString * _defaultDiskCacheDirectory;
|
||||||
return exists;
|
return exists;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Make sure to call form io queue by caller
|
// Make sure to call from io queue by caller
|
||||||
- (BOOL)_diskImageDataExistsWithKey:(nullable NSString *)key {
|
- (BOOL)_diskImageDataExistsWithKey:(nullable NSString *)key {
|
||||||
if (!key) {
|
if (!key) {
|
||||||
return NO;
|
return NO;
|
||||||
|
|
Loading…
Reference in New Issue