mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-18 05:58:12 +00:00
fixed Cache viewer when cache directory does not exist (browser not installed)
This commit is contained in:
@@ -147,10 +147,13 @@ public class LoadFromCacheFrame extends AppFrame implements ActionListener {
|
||||
}
|
||||
entries = new ArrayList<>();
|
||||
for (CacheImplementation c : caches) {
|
||||
for (CacheEntry en : c.getEntries()) {
|
||||
String contentType = en.getHeader("Content-Type");
|
||||
if ("application/x-shockwave-flash".equals(contentType)) {
|
||||
entries.add(en);
|
||||
List<CacheEntry> list=c.getEntries();
|
||||
if(list!=null){
|
||||
for (CacheEntry en : c.getEntries()) {
|
||||
String contentType = en.getHeader("Content-Type");
|
||||
if ("application/x-shockwave-flash".equals(contentType)) {
|
||||
entries.add(en);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user