Issue #383 fixed Cache viewer when cache directory of Firefox does not exist

This commit is contained in:
Jindra Petk
2013-09-11 22:15:45 +02:00
parent 3a5903b352
commit 55efab1b09

View File

@@ -108,6 +108,9 @@ public class FirefoxCache implements CacheImplementation {
if (profileDir != null) {
cacheDir = new File(profileDir, "Cache");
}
if(cacheDir == null){
return null;
}
if(!cacheDir.exists()){
return null;
}