Adhering to coding style
- also added new line at the end of SDImageCacheTests.m file
This commit is contained in:
parent
6e1b2aa8f0
commit
68ae502797
|
@ -256,7 +256,9 @@ FOUNDATION_STATIC_INLINE NSUInteger SDCacheCostForImage(UIImage *image) {
|
|||
|
||||
- (void)storeImageDataToDisk:(NSData *)imageData forKey:(NSString *)key {
|
||||
|
||||
if (!imageData) return;
|
||||
if (!imageData) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (![_fileManager fileExistsAtPath:_diskCachePath]) {
|
||||
[_fileManager createDirectoryAtPath:_diskCachePath withIntermediateDirectories:YES attributes:nil error:NULL];
|
||||
|
|
|
@ -222,4 +222,4 @@ NSString *kImageTestKey = @"TestImageKey.jpg";
|
|||
return [testBundle pathForResource:@"TestImage" ofType:@"jpg"];
|
||||
}
|
||||
|
||||
@end
|
||||
@end
|
||||
|
|
Loading…
Reference in New Issue