Cleaned up error handling code. New behaviour for failed requests.
Fixed: call to renamed method not updated
Code cleanup
Removed static global variable „AFCache_rootPath“ as it is never accessed from outside getter and setter
Removed unused code; Removed BOOL comparison to YES (as true is not always YES); Removed commented code
Moved dealloc method to stay together with init* method
Moved static „sharedInstance“ method to stay at top of implementation
Replaced CACHED_OBJECTS and CACHED_REDIRECTS macros with appropriate method definitions
Fixed typo in method name
Split @synthesize statement to have a single line for every property
Removed commented code
Removed ivar declaration for „cacheEnabled“ as @property then introduces it automatically
Removed ivar declaration for „dataPath“ as @property then introduces it automatically
Removed ivar declaration for „cacheInfoStore“ as @property then introduces it automatically
Removed ivar declaration for „pendingConnections“ as @property then introduces it automatically
Removed ivar declaration for „clientItems“ as @property then introduces it automatically
Changed „downloadQueue“ to be declared as private property
Changed „offline“ to be declared as public property instead of providing only a setter for an ivar
Changed ivar „requestCounter“ to become readonly property
Removed ivar declarations and @synchronize statements for „concurrentConnections“, „maxItemFileSize“, „diskCacheDisplacementTresholdSize“, „suffixToMimeTypeMap“, „archiveTimer“, „downloadPermission“, „wantsToArchive“, „downloadPaused“, „connectedToNetwork“ as @property then introduces them automatically