JakeWharton / DiskLruCache

Java implementation of a Disk-based LRU cache which specifically targets Android compatibility.
http://jakewharton.github.io/DiskLruCache
Apache License 2.0
5.79k stars 1.18k forks source link

Don't throw runtime exceptions on racy IO operations. #40

Closed swankjesse closed 11 years ago

swankjesse commented 11 years ago

There's no way for application code to defend against a directory going missing before a deleteContents call. Throw a more recoverable IOException instead.

JakeWharton commented 11 years ago

Needs rebase. I moved the package names.

swankjesse commented 11 years ago

Rebased.