Adhering to coding style

- also added new line at the end of SDImageCacheTests.m file
This commit is contained in:
Martin Oppetit 2016-02-04 10:14:53 +00:00
parent 6e1b2aa8f0
commit 68ae502797
2 changed files with 4 additions and 2 deletions

View File

@ -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];

View File

@ -222,4 +222,4 @@ NSString *kImageTestKey = @"TestImageKey.jpg";
return [testBundle pathForResource:@"TestImage" ofType:@"jpg"];
}
@end
@end