Skip to content

Commit

Permalink
yoyiyi
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyiyi committed Aug 1, 2017
1 parent 45e8f83 commit 9fe3296
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,8 @@ public Cache getCache(Context context) {
Cache cache = null;
String path = FileUtils.createRootPath(context);
final File baseDir = new File(path);
if (baseDir != null) {
final File cacheDir = new File(baseDir, "CopyCache");
cache = new Cache(cacheDir, HTTP_RESPONSE_DISK_CACHE_MAX_SIZE);
}
final File cacheDir = new File(baseDir, "CopyCache");
cache = new Cache(cacheDir, HTTP_RESPONSE_DISK_CACHE_MAX_SIZE);
return cache;
}

Expand Down

0 comments on commit 9fe3296

Please sign in to comment.