mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-31 11:44:36 +00:00
Issue #151 fixed memory caching
This commit is contained in:
@@ -87,7 +87,12 @@ public class Cache {
|
||||
}
|
||||
|
||||
public boolean contains(Object key) {
|
||||
return cacheFiles.containsKey(key);
|
||||
if (storageType == STORAGE_FILES) {
|
||||
return cacheFiles.containsKey(key);
|
||||
} else if (storageType == STORAGE_MEMORY) {
|
||||
return cacheMemory.containsKey(key);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public void clear() {
|
||||
|
||||
Reference in New Issue
Block a user